* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #134B70;
    --secondary-color: #3A4A55;
    --accent-color: #436378;
    --text-dark: #1E1E1E;
    --text-light: #5F5C5C;
    --white: #FFFFFF;
    --yellow-accent: #DBC42D;
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */

.navbar {
    position: relative;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.5s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(19, 75, 112, 0.95);
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-link {
    color: var(--white);
}

.navbar.scrolled .nav-link.active {
    color: var(--yellow-accent);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo {
    height: 80px;
    flex-shrink: 0;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    50% { 
        transform: translateY(-8px) scale(1.05); 
    }
}

.logo a {
    display: block;
    height: 100%;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 6px 20px rgba(19, 75, 112, 0.4));
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.navbar.scrolled .mobile-menu-toggle span {
    background: var(--white);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    padding: 8px 0;
    display: block;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: currentColor;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    transform: translateY(-3px);
}

.nav-link.active {
    color: var(--yellow-accent);
    text-shadow: 0 0 15px rgba(219, 196, 45, 0.5);
}

.nav-link.active::before {
    width: 100%;
    background: var(--yellow-accent);
}

/* CTA Button */
.cta-button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.8s ease, height 0.8s ease;
    z-index: -1;
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(19, 75, 112, 0.3);
}

.navbar.scrolled .cta-button {
    border-color: var(--white);
    color: var(--white);
}

.navbar.scrolled .cta-button::before {
    background: var(--white);
}

.navbar.scrolled .cta-button:hover {
    color: var(--primary-color);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    position: relative;
    padding: 80px 0 30px;
    color: var(--white);
    margin-top: 80px;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.footer-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 99, 120, 0.85);
    z-index: -1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
}

/* Footer Logo & Info */
.footer-logo {
    height: 110px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 258%!important;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    margin-top: -25px!important;
}


.footer-slogan {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 24px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-links a:hover {
    background: var(--white);
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.social-links img {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.1);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-phones {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--yellow-accent);
    transform: translateX(-5px);
}

.contact-item img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Footer Links Section */
.footer-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 34px;
    text-align: justify;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    padding-right: 20px;
}

.footer-links a::before {
    content: '←';
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    transform: translateX(10px);
    color: var(--yellow-accent);
}

.footer-links a:hover::before {
    opacity: 1;
    right: -5px;
}

/* Newsletter */
.newsletter h3 {
    margin-bottom: 56px;
}

.newsletter-form {
    display: flex;
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.newsletter-form:focus-within {
    border-color: var(--white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 24px;
    color: var(--white);
    font-size: 20px;
    font-family: 'Cairo', sans-serif;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    background: var(--secondary-color);
    border: none;
    padding: 15px 30px;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 16px;
    opacity: 0.9;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-main {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 24px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-links {
        gap: 20px;
     align-items: flex-start!important;

    }
    
    
    a.cta-button.cta-mobile-btn
 {
    color: #ffffff;
    text-align: left;
    align-items: flex-start;
    justify-content: center;
}



    
    .container {
        padding: 0 20px;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 85%;
        max-width: 320px;
        background: var(--primary-color);
        flex-direction: column;
        padding: 16px 30px 40px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1000;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        color: var(--white) !important;
        padding: 20px 0;
        font-size: 22px;
        text-align: right;
    }
    
    .nav-link.active {
        color: var(--yellow-accent) !important;
    }
    
    .nav-link::before {
        display: none;
    }
    
    .cta-button {
        display: none;
    }
    
    /* Mobile Footer */
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        gap: 40px;
    }
    
    .footer-logo {
        height: 80px;
    }
    
    .footer-slogan {
        font-size: 20px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-phones {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-section h3 {
        font-size: 20px;
        margin-bottom: 24px;
         text-align: justify;
        
    }
    
    .footer-links {
        gap: 20px;
     align-items: flex-start;

    }
    
    .footer-links a {
        font-size: 18px;
    }
    
    .newsletter h3 {
        margin-bottom: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        font-size: 18px;
    }
    
    .newsletter-form button {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 60px;
    }
    
    .nav-link {
        font-size: 20px;
    }
    
    .footer-slogan {
        font-size: 18px;
    }
    
    .contact-item {
        font-size: 16px;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Overlay for Mobile Menu */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}



