/*
Theme Name: RTI Scheduler
Theme URI: https://rtischeduler.com
Author: RTI Team
Description: Professional real-time interview scheduling WordPress theme
Version: 1.0.0
License: GPL v2 or later
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a2c3e;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== HEADER STYLES ===== */
.site-header {
    background: #0a2540;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.logo {
    text-decoration: none;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.logo p {
    font-size: 0.7rem;
    color: #ffd166;
    margin: 2px 0 0;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navigation ul {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #e2f0f7;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
    color: #ffd166;
}

.btn-get-started {
    border: 1px solid #ffd166;
    padding: 0.5rem 1.4rem;
    border-radius: 40px;
    background: transparent;
    font-weight: 600;
    color: #ffd166;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-get-started:hover {
    background: #ffd166;
    color: #0a2540;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #f0f7fc 0%, #ffffff 100%);
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1.2;
}

.hero-badge {
    display: inline-block;
    background: #0a2540;
    color: #ffd166;
    padding: 0.3rem 1.4rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0a2540;
}

.hero-content p {
    font-size: 1.2rem;
    color: #2c4b6e;
    max-width: 90%;
    margin-bottom: 2rem;
}

.stats-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #0a2540;
}

.stat-item p {
    color: #5a6e82;
}

.hero-image {
    flex: 0.9;
    background: linear-gradient(145deg, #d4eaf5, #eef4f8);
    border-radius: 40px;
    padding: 2rem;
    text-align: center;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: #0a2540;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #ffd166;
    color: #0a2540;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #0a2540;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    color: #0a2540;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #0a2540;
    color: white;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0a2540;
}

.section-desc {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem;
    color: #476788;
    font-size: 1.1rem;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: #ffffff;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: all 0.25s;
    border: 1px solid #e0ecf3;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #0a2540;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #0a2540;
}

/* Flow Steps */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #e2ecf3;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #0a2540;
    color: #ffd166;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

/* Comparison Table */
.comparison-wrapper {
    background: #fff;
    border-radius: 32px;
    overflow-x: auto;
    border: 1px solid #e0ecf3;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.comparison-table th, .comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e9f0f5;
}

.comparison-table th {
    background: #0a2540;
    font-weight: 800;
    color: white;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid #e0ecf3;
    cursor: pointer;
}

.faq-question {
    font-weight: 700;
    color: #0a2540;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    color: #5a6e82;
    margin-top: 0.8rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.footer {
    background: #0a2540;
    color: #e2f0f7;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: #ffd166;
    margin-bottom: 1rem;
}

.footer-col a {
    color: #cce3ed;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: #ffd166;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .header-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}
/* ===== MOBILE HAMBURGER MENU ===== */

.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffd166;
    border-radius: 3px;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile View (screen width less than 768px) */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: #0a2540;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 25px 25px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-container.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .main-navigation ul li a {
        color: #e2f0f7 !important;
        font-size: 1.1rem;
        display: block;
        padding: 8px 0;
    }
    
    .btn-get-started {
        margin-top: 20px;
        text-align: center;
        width: 100%;
    }
    
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
    
    .menu-overlay.active {
        display: block;
    }
}

/* Hamburger animation when menu open */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Desktop view (screen width more than 768px) - pehle jaisa */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }
    
    .nav-container {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        background: transparent !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
    }
    
    .main-navigation ul {
        flex-direction: row !important;
    }
    
    .menu-overlay {
        display: none !important;
    }
}