/* --- Variables & Reset --- */
:root {
    /* Colors: Dark Blue Gradient Mix */
    --primary: #2e3192;
    --dark-blue: #0b0c27;
    --blue-gradient: linear-gradient(135deg, var(--dark-blue), var(--primary));
    --secondary: #ff0000;
    
    --dark: #1a1a1a;
    --light: #f4f6f9;
    --white: #ffffff;
    --gray: #6c757d;
    --success: #28a745;
    
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { color: var(--dark); background-color: var(--white); line-height: 1.6; overflow-x: hidden; }

/* --- Typography & Utilities --- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-success { color: var(--success); }
.text-red { color: var(--secondary) !important; }
.bg-light { background-color: var(--light); }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 10px; }
.section-title p { color: var(--gray); font-size: 1.1rem; }

/* --- Buttons with Professional Ring Light Edge Hover --- */
.btn {
    display: inline-block; padding: 12px 28px; border-radius: 30px; font-weight: 600;
    cursor: pointer; border: 2px solid transparent; transition: var(--transition);
    text-align: center; position: relative; z-index: 1;
}
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }

.btn-primary { background: var(--blue-gradient); color: var(--white); }
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--white), 0 0 0 5px rgba(46, 49, 146, 0.5), 0 10px 20px rgba(46, 49, 146, 0.3); }

.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--white), 0 0 0 5px rgba(255, 0, 0, 0.4), 0 10px 20px rgba(255, 0, 0, 0.2); }

.btn-outline-light { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--primary); transform: translateY(-4px); box-shadow: 0 0 0 2px var(--primary), 0 0 0 5px rgba(255, 255, 255, 0.5); }

.btn-light { background: var(--white); color: var(--primary); }
.btn-light:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--white), 0 0 0 5px rgba(46, 49, 146, 0.3); }

.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--white), 0 0 0 5px rgba(40, 167, 69, 0.4); }

/* Google Review Button Specific Style */
.btn-google { background: #4285F4; color: var(--white); border-color: #4285F4; box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4); }
.btn-google:hover { background: #357ae8; transform: translateY(-4px); box-shadow: 0 0 0 2px var(--white), 0 0 0 5px rgba(66, 133, 244, 0.4), 0 10px 20px rgba(66, 133, 244, 0.2); color: var(--white); }

/* --- Header & New Logo Setup --- */
header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    z-index: 1000; transition: var(--transition); border-bottom: 1px solid rgba(0,0,0,0.05);
}
header.scrolled { box-shadow: 0 5px 20px rgba(0,0,0,0.05); padding: 5px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 85px; }

/* Fly Time Custom Logo Structure */
.logo a.logo-wrapper { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.1; }
/* Image increased by 40% (from 45px to 63px) */
.logo img { width: 63px; height: 63px; object-fit: contain; } 
.logo-text { display: flex; flex-direction: column; }
.logo-main { color: var(--secondary); font-size: 1.8rem; font-weight: 800; text-transform: uppercase; }
.logo-sub { color: var(--primary); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; }

/* Navigation & Dropdowns */
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links > a, .dropdown > a { font-weight: 500; color: var(--dark); display: flex; align-items: center; gap: 6px; }
.nav-links > a:hover, .dropdown > a:hover { color: var(--secondary); }
.dropdown-icon { font-size: 0.75rem; transition: transform 0.3s ease; }

.dropdown { position: relative; display: inline-block; padding: 10px 0; }
.dropdown-content {
    visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 0;
    background-color: var(--white); min-width: 220px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-radius: 12px;
    z-index: 1001; transform: translateY(15px); transition: all 0.3s ease;
    display: flex; flex-direction: column; padding: 10px 0;
    border: 1px solid rgba(0,0,0,0.05);
}
.dropdown:hover .dropdown-content { visibility: visible; opacity: 1; transform: translateY(0); }
.dropdown:hover .dropdown-icon { transform: rotate(180deg); color: var(--secondary); }

.dropdown-content a {
    padding: 10px 20px; color: var(--dark); font-size: 0.95rem; font-weight: 500;
    transition: var(--transition); border-left: 3px solid transparent;
}
.dropdown-content a:hover { background-color: var(--light); color: var(--secondary); border-left-color: var(--secondary); padding-left: 25px; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* --- Hero Section with Animated Blobs --- */
.hero {
    position: relative; padding: 160px 0 100px; min-height: 100vh;
    display: flex; align-items: center;
    background: radial-gradient(circle at center, #18194a 0%, var(--dark-blue) 100%);
    overflow: hidden;
}

.blob { position: absolute; filter: blur(80px); z-index: 0; opacity: 0.6; animation: floatBlob infinite alternate ease-in-out; }
.blob-1 { top: -10%; left: -10%; width: 600px; height: 600px; background: var(--primary); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; animation-duration: 12s; }
.blob-2 { bottom: -20%; right: -10%; width: 700px; height: 700px; background: #4a4eff; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; animation-duration: 15s; animation-delay: 2s; }
.blob-3 { top: 30%; left: 50%; width: 400px; height: 400px; background: var(--secondary); opacity: 0.2; border-radius: 50% 50% 30% 70% / 50% 30% 70% 40%; animation-duration: 10s; animation-delay: 1s; }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(50px, 50px) scale(1.1) rotate(20deg); }
}

.hero-container { display: flex; justify-content: space-between; align-items: center; gap: 50px; z-index: 2; position: relative; }
.hero-content { flex: 1; color: var(--white); }

/* Updated Hero Headings */
.hero-content h1.main-heading { font-size: 4rem; margin-bottom: 10px; color: var(--white); }
.hero-content h2.sub-heading-white { 
    background: var(--white); color: var(--primary); display: inline-block;
    padding: 8px 20px; border-radius: 30px; font-size: 1.8rem; margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); font-weight: 800;
}
.hero-content h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 30px; opacity: 0.9; }

/* White Text with Red Checkmarks in Hero List */
.hero-list { margin-bottom: 40px; }
.hero-list li { 
    margin-bottom: 15px; font-size: 1.2rem; 
    display: flex; align-items: center; gap: 10px; 
    color: #ffffff !important; 
}
.hero-list li i { color: var(--secondary) !important; }
.hero-buttons { display: flex; gap: 20px; }

/* Forms & Glassmorphism */
.glass-effect { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.4); border-radius: 20px; padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.hero-form-wrapper { flex: 0 0 400px; }
.lead-form h3 { color: var(--primary); margin-bottom: 25px; text-align: center; font-size: 1.5rem; }
.input-group { margin-bottom: 20px; }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 14px 20px; border: 1px solid #ddd; border-radius: 10px; font-size: 1rem; outline: none; transition: var(--transition); background: var(--white); }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,49,146,0.1); }

/* --- Grids & Premium Cards (With Ring Hover) --- */
.grid-container { display: grid; gap: 30px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card { background: var(--white); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid rgba(0,0,0,0.03); }
.card:hover { transform: translateY(-10px); box-shadow: 0 0 0 2px var(--white), 0 0 0 5px rgba(46, 49, 146, 0.3), 0 20px 40px rgba(0,0,0,0.15); border-color: transparent; }

/* Country Cards */
.country-card { padding: 0; overflow: hidden; }
.country-card .card-content { padding: 30px; }
.country-card h4 { color: var(--primary); font-size: 1.4rem; margin-bottom: 10px; }
.country-card p { color: var(--gray); margin-bottom: 15px; font-size: 0.95rem; }
.country-card .budget { font-weight: 600; color: var(--dark); margin-bottom: 20px; font-size: 0.9rem; }

/* Service Cards */
.service-card { text-align: center; }
.service-card .icon { width: 70px; height: 70px; background: rgba(46,49,146,0.1); color: var(--primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; margin: 0 auto 20px; transition: var(--transition); }
.service-card:hover .icon { background: var(--blue-gradient); color: var(--white); }
.service-card h4 { margin-bottom: 15px; font-size: 1.3rem; }
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* Process Section */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-step { text-align: center; position: relative; }
.step-num { width: 60px; height: 60px; background: var(--white); color: var(--secondary); border: 2px solid var(--secondary); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 15px; box-shadow: var(--shadow); }
.process-step h4 { color: var(--primary); }

/* Why Choose Us */
.feature-box { text-align: center; padding: 30px; border-radius: 16px; background: var(--light); transition: var(--transition); }
.feature-box:hover { background: var(--blue-gradient); color: var(--white); transform: translateY(-10px); box-shadow: 0 0 0 2px var(--white), 0 0 0 5px rgba(46, 49, 146, 0.3); }
.feature-box i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px; transition: var(--transition); }
.feature-box:hover i { color: var(--white); }

/* Testimonials */
.testimonial-card { position: relative; }
.stars { color: #ffc107; margin-bottom: 15px; }
.testimonial-card p { font-style: italic; color: var(--gray); margin-bottom: 20px; }
.student-name { font-weight: 700; color: var(--primary); }

/* Final CTA */
.final-cta { background: var(--blue-gradient); color: var(--white); padding: 100px 0; }
.final-cta h2 { font-size: 3rem; margin-bottom: 15px; }
.final-cta p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.info-item i { width: 50px; height: 50px; background: var(--light); color: var(--secondary); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; flex-shrink: 0; }

/* --- Footer Area --- */
.footer { background: var(--dark-blue); color: var(--white); padding: 40px 0 10px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 20px; }
.footer-col p { color: #aaa; margin-bottom: 15px; font-size: 0.95rem; }

/* Standard Footer Links (Excluded from breaking social icons) */
.footer-col h4 { margin-bottom: 15px; font-size: 1.2rem; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--secondary); }
.footer-col > a { display: block; color: #aaa; margin-bottom: 8px; font-size: 0.95rem; transition: var(--transition); }
.footer-col > a:hover { color: var(--white); padding-left: 5px; }

/* --- Perfectly Aligned & Fixed Social Icons --- */
.footer-col .social-icons { 
    display: flex; 
    flex-direction: row; 
    gap: 12px; 
    flex-wrap: wrap; 
    align-items: center; 
    margin-top: 15px; 
}
.footer-col .social-icons a { 
    display: flex !important; /* Force flex to align the icon inside perfectly */
    justify-content: center !important; 
    align-items: center !important; 
    width: 42px !important; /* Proper Circular Size */
    height: 42px !important; 
    background: var(--white) !important; 
    border-radius: 50% !important; 
    transition: var(--transition) !important;
    font-size: 1.3rem !important; /* Ensure icon is properly scaled inside */
    margin: 0 !important; /* Removes any accidental margins */
    padding: 0 !important; /* Fixes the padding shift bug on hover */
    text-decoration: none !important;
}

/* Original Brand Colors applied to icons */
.footer-col .social-icons a:nth-child(1) { color: #1877F2 !important; } /* Facebook */
.footer-col .social-icons a:nth-child(2) { color: #E4405F !important; } /* Instagram */
.footer-col .social-icons a:nth-child(3) { color: #FF0000 !important; } /* YouTube */
.footer-col .social-icons a:nth-child(4) { color: #4285F4 !important; } /* Google */

/* Hover Effects - Flips colors for a premium feel */
.footer-col .social-icons a:nth-child(1):hover { background: #1877F2 !important; color: var(--white) !important; transform: translateY(-4px) !important; box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4) !important; }
.footer-col .social-icons a:nth-child(2):hover { background: #E4405F !important; color: var(--white) !important; transform: translateY(-4px) !important; box-shadow: 0 5px 15px rgba(228, 64, 95, 0.4) !important; }
.footer-col .social-icons a:nth-child(3):hover { background: #FF0000 !important; color: var(--white) !important; transform: translateY(-4px) !important; box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4) !important; }
.footer-col .social-icons a:nth-child(4):hover { background: #4285F4 !important; color: var(--white) !important; transform: translateY(-4px) !important; box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4) !important; }

/* Bottom Text Setup */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; color: #888; font-size: 0.9rem; margin-top: 10px; }

/* Floating Elements */
.floating-wa { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background: #25D366; color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 99; transition: var(--transition); }
.floating-wa:hover { transform: scale(1.1); color: white; box-shadow: 0 0 0 2px var(--white), 0 0 0 5px #25D366; }

.scroll-top { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; background: var(--blue-gradient); color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 99; opacity: 0; visibility: hidden; transition: var(--transition); }
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-5px); box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary); }

/* Modals */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 12, 39, 0.8); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 2000; opacity: 0; visibility: hidden; transition: var(--transition); }
.modal.show { opacity: 1; visibility: visible; }
.modal-content { background: var(--white); padding: 40px; border-radius: 20px; width: 90%; max-width: 450px; position: relative; transform: translateY(20px); transition: var(--transition); }
.modal.show .modal-content { transform: translateY(0); }
.modal-icon { font-size: 4rem; margin-bottom: 20px; }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; cursor: pointer; color: var(--gray); transition: var(--transition); }
.close-btn:hover { color: var(--secondary); }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 991px) {
    /* Slightly scaled logo for mobile to maintain balance */
    .logo img { width: 52px; height: 52px; }
    .logo-main { font-size: 1.4rem; }
    .logo-sub { font-size: 0.65rem; }
    
    .hero-content h1.main-heading { font-size: 3rem; }
    .hero-content h2.sub-heading-white { font-size: 1.4rem; }
    .hero-container { flex-direction: column; text-align: center; padding-top: 50px; }
    .hero-list li { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .hero-form-wrapper { width: 100%; max-width: 500px; }
    
    /* Mobile Dropdown Fixes */
    .nav-links { position: absolute; top: 85px; left: -100%; width: 100%; background: var(--white); flex-direction: column; padding: 30px; text-align: left; gap: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: var(--transition); align-items: flex-start; }
    .nav-links.active { left: 0; }
    .dropdown { width: 100%; padding: 0; }
    .dropdown > a { justify-content: space-between; width: 100%; }
    .dropdown-content { position: static; box-shadow: none; border: none; min-width: 100%; background: var(--light); display: none; padding: 0; margin-top: 10px; transform: none; visibility: visible; opacity: 1; }
    .dropdown:hover .dropdown-content { display: flex; }

    .hamburger { display: block; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .process-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-col .social-icons { justify-content: center; }
    .hero { padding: 140px 0 50px; }
    .final-cta h2 { font-size: 2rem; }
}