:root {
    --primary: #0A2540;
    --primary-light: #635bff;
    --accent: #00D4FF;
    --dark: #1A1F36;
    --light: #F7FAFC;
    --grey-text: #3c4253;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --radius: 12px;
    
    /* Fluid Typography */
    --h1-size: clamp(2.5rem, 8vw, 5rem);
    --h2-size: clamp(2rem, 5vw, 3rem);
    --p-hero-size: clamp(1.1rem, 2vw, 1.4rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--grey-text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px; /* Reduced slightly for mobile comfort */
}

.section {
    padding: clamp(60px, 10vw, 120px) 0;
}

.bg-light {
    background-color: var(--light);
}

/* Typography & Links */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

span {
    color: var(--accent);
}

span.accent {
    background: linear-gradient(120deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

@media (max-width: 480px) {
    .btn { width: 100%; } /* Full-width buttons on small phones */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(0, 118, 255, 0.39);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 118, 255, 0.23);
    opacity: 0.9;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: clamp(40px, 8vw, 60px);
    width: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.scrolled .logo-img {
    height: clamp(35px, 6vw, 45px);
    filter: none;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
}

.scrolled .nav-links a {
    color: var(--primary);
}

.scrolled .nav-links a.btn-primary {
    color: var(--white);
}

.nav-links a:not(.btn):hover {
    color: var(--accent);
}

.scrolled .nav-links a:not(.btn):hover {
    color: var(--primary-light);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

.scrolled .bar {
    background-color: var(--primary);
}

/* Hero */
.hero {
    min-height: 100vh;
    background: url('assets/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(10, 37, 64, 0.8), rgba(26, 31, 54, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: var(--h1-size);
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: var(--p-hero-size);
    margin-bottom: 40px;
    color: var(--white);
    opacity: 0.85;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 80px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: var(--h2-size);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 30vw, 350px), 1fr));
    gap: clamp(20px, 4vw, 40px);
}

.service-card {
    padding: clamp(30px, 5vw, 50px);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.service-card.highlight {
    background: var(--primary);
    color: var(--white);
}

.service-card.highlight h3 {
    color: var(--white);
}

.service-card .icon {
    font-size: 2.2rem;
    margin-bottom: 25px;
    width: 70px;
    height: 70px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card:hover .icon {
    background: var(--primary-light);
    color: var(--white);
    transform: scale(1.1);
}

.service-card.highlight .icon {
    background: rgba(255, 255, 255, 0.1);
}

.service-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 15px;
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: center;
}

.about-text h2 {
    font-size: var(--h2-size);
    margin-bottom: 30px;
}

.features {
    list-style: none;
    margin-top: 40px;
    display: grid;
    gap: 20px;
}

.features li {
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.features li::before {
    content: '→';
    color: var(--primary-light);
    font-weight: bold;
}

.img-fluid {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.rounded {
    border-radius: var(--radius);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(40px, 8vw, 80px);
}

.contact-info {
    padding: clamp(30px, 6vw, 50px);
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.contact-info h3, .contact-info h4 { 
    color: var(--white); 
    font-size: 1.25rem; 
    margin-bottom: 8px; 
    letter-spacing: -0.01em;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.premium-phone-link {
    font-size: 1.6rem; 
    font-weight: 700; 
    background: linear-gradient(120deg, var(--accent), var(--white));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.premium-phone-link:hover {
    opacity: 0.8;
}

.info-item {
    display: flex;
    gap: clamp(15px, 3vw, 25px);
    margin-bottom: clamp(25px, 5vw, 40px);
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-icon {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-form {
    display: grid;
    gap: 25px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px 25px;
    background: var(--light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.1);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 100px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
}

.footer-logo-img {
    height: clamp(40px, 6vw, 55px);
    filter: brightness(0) invert(1);
    margin-bottom: 25px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .footer-desc { margin: 0 auto; }
}

.footer-links h3, .footer-contact h3,
.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.7;
}

.footer-contact .footer-phone {
    margin-top: 20px;
}

.footer-contact .footer-phone a {
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.footer-contact .footer-phone a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Animations */
.reveal, .reveal-left, .reveal-right, .fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

@media (max-width: 1024px) {
    .reveal-left, .reveal-right { transform: translateY(40px); }
}

.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Drawer */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: min(85vw, 320px);
    height: 100%;
    background: var(--white);
    z-index: 1002;
    transition: var(--transition);
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.drawer.active {
    left: 0;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.close-drawer {
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--primary);
}

.drawer-links {
    list-style: none;
}

.drawer-links li {
    margin-bottom: 25px;
}

.drawer-links a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.drawer-links a.btn-primary {
    color: var(--white);
}

/* Premium Language Switcher */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.scrolled .lang-btn {
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--primary);
    background: transparent;
}

.lang-btn:hover { background: rgba(255, 255, 255, 0.2); }
.scrolled .lang-btn:hover { background: rgba(0, 0, 0, 0.05); }

.lang-btn .chevron { transition: transform 0.3s ease; }
.lang-dropdown:hover .chevron { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--white);
    min-width: 150px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    color: var(--primary) !important;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.95rem !important;
    transition: var(--transition);
}

.lang-menu a:hover {
    background: var(--light);
    color: var(--primary-light) !important;
}

.lang-menu a.active {
    background: var(--light);
    color: var(--primary-light) !important;
    font-weight: 700;
}

/* Mobile Pill Switcher */
.lang-drawer-pro {
    display: flex;
    background: var(--light);
    border-radius: 50px;
    padding: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.lang-drawer-pro a {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem !important;
    color: #4F566B !important;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
}

.lang-drawer-pro a.active {
    background: var(--white);
    color: var(--primary) !important;
    box-shadow: var(--shadow-sm);
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    z-index: 5;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* Icons */
.service-card .icon svg {
    color: var(--primary-light);
    transition: var(--transition);
}

.service-card:hover .icon svg {
    color: var(--white);
}

.service-card.highlight .icon svg {
    color: var(--accent);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .container { padding: 0 40px; }
    .about-container, .contact-wrapper { gap: 60px; }
}

@media (max-width: 991px) {
    .about-container, .contact-wrapper { grid-template-columns: 1fr; }
    .about-image { order: -1; } /* Image on top for about section */
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero { text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
}
