/* Import Tajawal font */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800&display=swap');
/* ================== RESET ================== */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================== GLOBAL ================== */

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: #333;
}

section{
    padding: 80px 0;
    scroll-margin-top: 100px;
}

.section-title{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

.container{
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn{
    display: inline-block;
    background-color: #38dbf8;
    color: #333;
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.4s ease;
}

.btn:hover{
    transform: translateY(-10px);
    border-color: #ffffff;
    box-shadow: 0 0 25px #ffffff22;
}

/* ================== BACKGROUNDS ================== */

#about, #contact-info, #contact, #outside-courses{
    background-color: #eee;
}

/* ================== HEADER ================== */

header{
    position: fixed;
    width: 100%;
    background-color: #f9f9f9;
    color: #464646;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a{
    text-decoration: none;
    color: #3498db;
}

.logo h1{
    font-size: 1.8rem;
    transition: color 0.25s ease;
}

.logo h1:hover{
    color: #007ab3;
}

header nav ul{
    display: flex;
    list-style: none;
    align-items: center;
    text-align: center;
}

header nav li{
    margin-right: 25px;
}

header nav a{
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

header nav a:hover{
    color: #00b5d5;
}

/* ================== HERO ================== */

#hero{
    background: #0d1b2a url(images/hero_background.jpg);
    height: 100vh;
    background-size: cover;
    background-position: center;
    color: #e7e7e7;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content{
    max-width: 750px;
    margin: 0 auto;
}

.hero-content h2{
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #38dbf8;
}

.hero-content p{
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-subtitle{
    font-weight: 500;
}

.hero-content nav{
    text-align: center;
}

#hero nav ul{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    list-style: none;
}

#hero .btn{
    min-width: 210px;
}

/* ================== NEWS / OUTSIDE-COURSES ================== */
#tdc-news{
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-wrapper{
    max-width: 1100px;
    margin: 0 60px 35px;
    padding: 20px 10px;
    overflow: hidden;
}

.card-list .card-item{
    list-style: none;
}

.card-list .card-item .card-link{
    user-select: none;
    display: block;
    background: #e0e0e0;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: border-color 0.25s ease;
}

.card-list .card-item .card-link:active{
    cursor: grabbing;
}

.card-list .card-item .card-link:hover{
    border-color: #5372f0;
}

.card-list .card-link .card-image{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
}

.card-list .card-link .badge{
    color: #5372f0;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 16px 0 18px;
    background: #dde4ff;
    width: fit-content;
    border-radius: 50px;
}

.card-list .card-link .card-title{
    font-size: 1.19rem;
    color: #000;
    font-weight: 600;
}

.card-list .card-link .card-button{
    height: 35px;
    width: 35px;
    color: #5372f0;
    border-radius: 50%;
    margin: 30px 0 5px;
    background: none;
    cursor: pointer;
    border: 2px solid #5372f0;
    transform: rotate(-45deg);
    transition: 0.4s ease;
}

.card-list .card-link:hover .card-button{
    color: #fff;
    background:#5372f0;
}

.card-wrapper .swiper-pagination-bullet{
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background: #5372f0;
}

.card-wrapper .swiper-pagination-bullet-active{
    opacity: 1;
}

.card-wrapper .swiper-slide-button{
    color: #5372f0;
    margin-top: -35px;
}

/* css fixes */

.swiper {
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
}

/* ================== ABOUT ================== */

.about-cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.card{
    background: rgba(85, 85, 85, 0.05);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 35px;
    border-radius: 24px;
    transition: 0.4s ease;
    backdrop-filter: blur(14px);
}

.card:hover{
    transform: translateY(-10px);
    border-color: #00bfff;
    box-shadow: 0 0 25px #00bfff22;
}

.card h3{
    color: #008bc7;
    margin-bottom: 10px;
}

.about-cards a{
    text-decoration: none;
    color: #333;
    transition: 0.4s ease;
    backdrop-filter: blur(14px);
}

.about-cards a p:hover{
    color: #008bc7;
    text-decoration: underline;
}

.card ul{
    list-style: none;
}

/* ================== SCHEDULE ================== */

.day{
    margin-bottom: 50px;
}

.day h3{
    margin-bottom: 20px;
    color: #008bc7;
}

.schedule-table{
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 10px;
}

.schedule-table th{
    background-color: #38bdf8;
    text-align: right;
}

.schedule-table th, .schedule-table td{
    padding: 15px;
    border: 1px solid #334155;
}

tbody tr{
    background-color: #fff;
}

tbody tr:nth-child(even){
    background-color: #e1e1e1;
}

tbody tr:hover{
    background-color: #cecece;
}

/* ================== FORM ================== */

#contact{
    color: #464646;
}

.form-container{
    max-width: 700px;
    margin: 0 auto;
    background-color: #e1e1e1;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #334155;
}

.form-group{
    margin-bottom: 25px;
}

input,
select{
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #334155;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
}

.form-container p{
    padding-top: 20px;
    font-weight: 500;
}

button[type="submit"]{
    border: none;
    font-family: "Tajawal", sans-serif;
}

/* ================== CONTACT ================== */

#contact-info .container{
    max-width: 40%;
}


#contact-info .container ul{
    text-align: center;
    font-size: 1.1rem;
    text-align: right;
}

#contact-info li{
    margin-bottom: 15px;
    list-style: none;
}

#contact-info li i{
    color: #4a90e2;
    margin-left: 10px;
    font-size: 1.1rem;
}

#contact-info li a{
    text-decoration: none;
    color: #333;
}

#contact-info li a:hover{
    text-decoration: underline;
}

/* ================== FOOTER ================== */

footer{
    background-color: #1d2e3f;
    color: #fff;
    padding-bottom: 20px;
}

footer p{
    text-align: center;
    padding-top: 20px;
}

/* IT department styling */

/* ========================= GLOBAL ========================= */

#it-hero, .it-services{
    font-family: 'Tajawal', sans-serif;
    background-color: #07111f;
    color: white;
}

/* ========================= HERO ========================= */

#it-hero{
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, #00bfff22, transparent 35%),
    radial-gradient(circle at bottom right, #7c4dff22, transparent 35%),
    linear-gradient(135deg, #081120, #0d1b2a);
}

.hero-overlay{
    position: absolute;
    inset: 0;
}

.it-hero-content{
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.it-hero-content h1{
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 800;
    color: #00bfff;
}

.it-hero-content h2{
    margin-bottom: 25px;
}

.it-hero-content p{
    font-size: 1.2rem;
    color: #d8d8d8;
    line-height: 1.9;
    margin-bottom: 35px;
}

.btn-primary{
    display: inline-block;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 14px;
    transition: 0.3s ease;
    font-weight: bold;
    font-size: 1.3rem;
}

.btn-primary{
    background: linear-gradient(135deg, #00bfff, #7c4dff);
    color: white;
}

.btn-primary:hover{
    transform: translateY(-4px);
}

/* ========================= SECTION HEADINGS ========================= */
.section-heading{
    text-align: center;
    margin-bottom: 70px;
}

.section-heading span{
    color: #00bfff;
    letter-spacing: 4px;
    font-size: 0.9rem;
}

.section-heading h2{
    font-size: 2.8rem;
    margin: 15px 0;
}

.section-heading p{
    color: #c8c8c8;
    max-width: 750px;
    margin: auto;
    line-height: 1.9;
}

/* ========================= SERVICES ========================= */
.services-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card{
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 35px;
    border-radius: 24px;
    transition: 0.4s ease;
    backdrop-filter: blur(14px);
}

.service-card:hover{
    transform: translateY(-10px);
    border-color: #00bfff;
    box-shadow: 0 0 25px #00bfff22;
}

.service-card .icon{
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #00bfff, #7c4dff);
    font-size: 1.6rem;
}

.service-card h3{
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.service-card p{
    color: #d1d1d1;
    line-height: 2;
}

/* ================== COURSES / WORKSHOPS ================== */
#courses .section-title, #workshops .section-title{
    margin-top: 50px;
}

#workshops{
    background-color: #fff;
}

#workshops .contact-content{
    background-color: #efefef;
}

.courses-cards, .workshops-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.course-card, .workshop-card{
    overflow: hidden;
    background-color: #EFEFEF;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2)
}

.course-card img, .workshop-card img{
    width: 100%;
    padding: 10px;
}

.course-card ul, .workshop-card ul{
    padding: 10px;
    list-style: none;
}

.course-icon, .workshop-icon{
    color: #4a90e2;
    font-size: 1.4rem;
    margin-left: 15px;
    margin-bottom: 10px;
}

.course-card p, .workshop-card p{
    font-size: 1.1rem;
}

.course-card a, .workshop-card a{
    background-color: #3498db;
    font-size: 1.3rem;
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.course-card a:hover, .workshop-card a:hover{
    background-color: #3975b9;
}

/* ================= Hierarchy section =================*/

#hierarchy-hero {
    --bg-color: #0b0f19;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    
    /* Gen-Z Neon Gradients */
    --grad-minister: linear-gradient(135deg, #ff007a, #7928ca);
    --grad-vice: linear-gradient(135deg, #7928ca, #4f46e5);
    --grad-director: linear-gradient(135deg, #3b82f6, #06b6d4);
    --grad-branch: linear-gradient(135deg, #06b6d4, #10b981);
    
    --line-color: rgba(255, 255, 255, 0.1);
    --line-hover: #06b6d4;
    
    /* Dynamic Layout Variables (Overwritten on smaller screens) */
    --tree-indent: 40px;
    --line-offset-y: 36px;
    font-family: 'Tajawal', 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 1.5rem;
    overflow-x: hidden; /* Prevents unwanted layout breaks */
}

#hierarchy-hero h1{
    font-weight: 800;
    margin: 2.5rem 0;
    color: #00bfff;
    /* background: linear-gradient(to left, #ff007a, #06b6d4); */
    /* -webkit-background-clip: text; */
    /* background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    text-transform: uppercase;
    text-align: center;
    font-size: 2rem;
}

#hierarchy-hero .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* --- RTL VERTICAL FLOW HIERARCHY ENGINE --- */
#hierarchy-hero .org-chart.vertical {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
}

#hierarchy-hero .org-chart.vertical ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-right: var(--tree-indent);
    padding-left: 0;
    padding-top: 0;
    width: 100%;
}

#hierarchy-hero .org-chart.vertical li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding: 12px 0;
    width: 100%;
}

/* Vertical down lines */
#hierarchy-hero .org-chart.vertical ul::before {
    content: '';
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    bottom: 0;
    border-right: 2px solid var(--line-color);
    width: 0;
    transition: border-color 0.3s;
}

/* Horizontal node branches */
#hierarchy-hero .org-chart.vertical li::before {
    content: '';
    position: absolute;
    right: calc(-1 * var(--tree-indent));
    top: var(--line-offset-y);
    border-top: 2px solid var(--line-color);
    width: var(--tree-indent);
    height: 0;
    transition: border-color 0.3s;
}

/* Base structural cleanup rules */
#hierarchy-hero .org-chart.vertical > ul > li::before { display: none; }
#hierarchy-hero .org-chart.vertical > ul { padding-right: 0; }
#hierarchy-hero .org-chart.vertical > ul::before { display: none; }

#hierarchy-hero .org-chart.vertical ul li:last-child::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--tree-indent) - 2px);
    top: var(--line-offset-y);
    bottom: 0;
    width: 4px;
    background-color: var(--bg-color);
}

/* --- UI CARD BLOCKS --- */
#hierarchy-hero .node {
    border: 1px solid var(--card-border);
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-radius: 16px;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    min-width: 280px;
    max-width: 100%;
    text-align: right;
    word-wrap: break-word;
}

#hierarchy-hero .node span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--text-muted);
}

#hierarchy-hero .toggle-btn {
    cursor: pointer;
    padding-left: 3rem;
    padding-right: 1.5rem;
}

#hierarchy-hero .toggle-btn::after {
    content: '−';
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: bold;
    transition: all 0.3s ease;
}

#hierarchy-hero .collapsed > .toggle-btn::after {
    content: '+';
    color: #06b6d4;
}

/* Tier Styling Blocks */
#hierarchy-hero .level-minister { border-color: #ff007a; box-shadow: 0 0 20px rgba(255, 0, 122, 0.15); }
#hierarchy-hero .level-minister h2 { background: var(--grad-minister); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.25rem; font-weight: 800;}
#hierarchy-hero .level-vice { border-color: #7928ca; box-shadow: 0 0 20px rgba(121, 40, 202, 0.15); }
#hierarchy-hero .level-vice h3 { background: var(--grad-vice); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.1rem; }
#hierarchy-hero .level-director { border-color: #3b82f6; box-shadow: 0 0 20px rgba(59, 130, 246, 0.15); }
#hierarchy-hero .level-director h4 { background: var(--grad-director); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#hierarchy-hero .level-branch { border-color: rgba(6, 182, 212, 0.4); }
#hierarchy-hero .level-branch p { color: #06b6d4; font-weight: 700;}

/* Collapse Engine */
#hierarchy-hero .org-chart.vertical li.collapsed > ul { display: none; }

/* Interactive Hover States */
#hierarchy-hero .node:hover {
    transform: translateX(-5px) translateY(-2px) scale(1.01);
    border-color: #fff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
}
#hierarchy-hero .org-chart.vertical li:hover > .node { border-color: #fff; }
#hierarchy-hero .org-chart.vertical li:not(.collapsed):hover > ul::before,
#hierarchy-hero .org-chart.vertical li:hover::before {
    border-color: var(--line-hover) !important;
}

/* ========================================================== */
/* --- RESPONSIVE MEDIA QUERIES ---                           */
/* ========================================================== */

/* Tablets & Small Laptops (Max 768px) */
@media (max-width: 768px) {
    #hierarchy-hero{
        --tree-indent: 25px; /* Shrinks space between rows to save screen width */
    }
    #hierarchy-hero body {
        padding: 2rem 1rem;
    }
    #hierarchy-hero h1 {
        font-size: 2rem;
    }
    #hierarchy-hero .node {
        min-width: 240px; /* Makes card narrower */
        font-size: 0.9rem;
        padding: 0.85rem 1.2rem;
    }
    #hierarchy-hero .toggle-btn {
        padding-left: 2.5rem;
    }
}

/* Mobile Devices (Max 480px) */
@media (max-width: 480px) {
    #hierarchy-hero{
        --tree-indent: 16px; /* Tight indentation strategy */
        --line-offset-y: 32px; /* Shifts lines slightly up to match shorter card heights */
    }
    #hierarchy-hero h1 {
        font-size: 1.75rem;
    }
    #hierarchy-hero .subtitle {
        font-size: 0.8rem;
        margin-bottom: 2rem;
    }
    #hierarchy-hero .org-chart.vertical ul {
        padding-right: var(--tree-indent);
    }
    #hierarchy-hero .node {
        min-width: 100%; /* Nodes take full width of their current branch container */
        white-space: normal; /* Permits text wrapping dynamically instead of clipping screen boundaries */
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
        border-radius: 12px;
    }
    #hierarchy-hero .node span {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }
    #hierarchy-hero .level-minister h2 { font-size: 1.1rem; }
    #hierarchy-hero .level-vice h3 { font-size: 1rem; }
    
    #hierarchy-hero .toggle-btn {
        padding-left: 2rem;
        padding-right: 1rem;
    }
    #hierarchy-hero .toggle-btn::after {
        left: 0.8rem;
        font-size: 1rem;
    }
}

/* ===== ENHANCED RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .container {
        width: 90%;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* .courses-cards,  */
    /* .workshops-cards,  */
    .about-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .it-hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-heading h2 {
        font-size: 2.4rem;
    }
    
    .services-grid{
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px){

    /* General container adjustments */
    .container {
        width: 85%;
    }
    
    section {
        padding: 50px 0;
    }

    /* Hero section improvements */
    #hero{
    padding: 120px 20px 60px;
    min-height: 100vh;
    height: auto;
    }

    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    #hero ul li {
        margin-top: 1.5rem;
    }

    /* News cards adjustments */
    .card-wrapper {
        margin: 0 5px 25px;
    }
    
    .card-list .card-item .card-link {
        padding: 12px;
    }
    
    .card-list .card-link .badge {
        font-size: 0.8rem;
        padding: 5px 12px;
        margin: 10px 0 12px;
    }
    
    .card-list .card-link .card-title {
        font-size: 1rem;
    }

    /* About section improvements */
    .card {
        padding: 15px;
    }
    
    .card p, 
    .card li {
        font-size: 0.95rem;
    }
    
    /* Contact section */
    #contact-info .container {
        max-width: 80%;
    }
    
    #contact-info .container ul {
        font-size: 0.95rem;
    }

    /* header */
    header .container{
        flex-direction: column;
    }

    header nav{
        margin-top: 20px;
    }

    header nav ul{
        flex-direction: column;
        text-align: center;
    }

    header nav li{
        margin: 10px 0;
    }

    /* hero */
    .hero-content h2{
        font-size: 2.5rem;
    }

    .hero-content p{
        font-size: 1rem;
    }

    /* about */
    .about-cards{
        flex-direction: column;
    }

    /* schedule */
    .schedule-table{
        font-size: 0.9rem;
    }

    .schedule-table th,
    .schedule-table td{
        padding: 10px;
    }

    /* swiper */
    .card-wrapper{
        margin: 0 10px 25px;
    }

    .card-wrapper .swiper-slide-button{
        display: none;
    }
}

@media (max-width: 480px){
    /* hero */
    .section-title{
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .hero-location {
        font-size: 0.9rem;
    }

    #hero ul a,
    .btn-primary, 
    .form-container a{
        font-size: 1rem;
        padding: 10px 16px;
    }

    header nav li{
        margin-top: 2px;
    }

    header nav li a{
        font-size: 0.9rem;
    }

    /* .courses-cards,  */
    /* .workshops-cards, */
    .about-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn{
        width: 100%;
    }
}

/* ================= HAMBURGER MENU ================= */

.hamburger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

/* Mobile + Tablet */
@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    header nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #f9f9f9;
        display: none;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    header nav.active {
        display: flex;
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
    }

    header nav li {
        margin: 15px 0;
    }
}