:root {
            --primary: #1a2a3a;
            --secondary: #2c3e50;
            --accent: #f39c12;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --energy: #e74c3c;
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        html, body {
            width: 100%;
            max-width: 100vw;
            overflow-x: hidden;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            width: 100%;
            box-sizing: border-box;
            overflow-x: hidden;
        }

        body {
            width: 100%;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #0f1a24 0%, #1a2a3a 100%);
            color: var(--light);
            line-height: 1.6;
            /* Removed overflow-x: hidden; now on html */
        }
        
        .container-wrapper, section, .footer {
            max-width: 100vw;
        }

        .container-wrapper{
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2.7rem;
        }

        /* Unique Navigation */
        .nav-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
        }

        .nav-container.scrolled {
            background: rgba(26, 42, 58, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
            padding: 1rem 2rem;
        }
        

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--light);
            text-decoration: none;
            transition: var(--transition);
        }

        .logo-icon {
            color: var(--accent);
            transform: rotate(-15deg);
            transition: var(--transition);
        }

        .logo:hover .logo-icon {
            transform: rotate(0deg);
        }

        .nav-menu {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-link {
            position: relative;
            text-decoration: none;
            color: var(--light);
            font-weight: 500;
            padding: 0.5rem 0;
            overflow: hidden;
            transition: var(--transition);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--accent);
            transition: var(--transition);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .nav-link:hover {
            color: var(--accent);
        }

        .mobile-toggle {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: var(--light);
        }

        /* Hero Section */
        .hero {
            height: 100vh;
        
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            }

        .hero-content {
            max-width: 1200px;
            margin-top: 20px;
            width: 100%;
           
            
        }
/* VIDEO LAYER */
.hero__bg-video {
position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;    /* crop/scale to fill container cleanly */
  z-index: -2;   
         /* behind everything */
}

/* GRADIENT OVERLAY */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;             /* shorthand for top:0; right:0; bottom:0; left:0; */
  background:
    linear-gradient(
      to right,
      rgb(4, 16, 29),
      rgba(29, 15, 64, 0.199)
    );
  z-index: -1;          /* between video and content */
}
        .hero-text {
            max-width: 700px;
            
        }

        .hero-subtitle {
            
            font-size: 1.2rem;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 0.1rem;
        }

        .hero-title {
            font-size: 4rem;
            font-weight: 800;
            line-height: 1.3;
            background: linear-gradient(to right, #f39c12, #e74c3c);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            margin-bottom: 1rem;
        }
       .hero-title1 {
            font-size: 4rem;
            font-weight: 800;
            line-height: 1.3;
            background: linear-gradient(to right, #ffffff, #b78983);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .hero-description {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            max-width: 600px;
            opacity: 0.9;
        }

        .btn {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: var(--accent);
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            border-radius: 50px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 10px 20px rgba(243, 156, 18, 0.3);
        }

        .btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(243, 156, 18, 0.5);
        }

        .btn-secondary {
            background: transparent;
            border: 2px solid var(--accent);
            color: var(--accent);
            margin-left: 1rem;
            box-shadow: none;
        }

        .btn-secondary:hover {
            background: rgba(243, 156, 18, 0.1);
        }

        /* Sections */
        section {
            width: 100%;
            margin: 0 auto;
            padding: 0 2.7rem;
        }

        .section-title {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 5rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
        }

   /* About Section */
   #about {
            background: linear-gradient(to bottom, #0f1a24 0%, #1a2a3a 100%);
            
        }

        .about {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .about-title {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            color: var(--accent);
        }

        .about-description {
            max-width: 800px;
            font-size: 1.1rem;
            margin-bottom: 2.5rem;
            opacity: 0.9;
        }

.about-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    transform: translateX(-20px);
    opacity: 0;
    animation: fadeInLeft 0.6s ease-out forwards;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.timeline {
    position: relative;
    padding: 2rem 0;
    transform: scaleY(0);
    transform-origin: top;
    animation: scaleVertical 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 0.5s;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    height: 100%;
    width: 4px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    animation: drawLine 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 1s;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2.5rem;
    transform: translateX(-20px);
    opacity: 0;
}

.timeline-item:nth-child(1) { animation: fadeInLeft 0.5s ease-out forwards; animation-delay: 1.4s; }
.timeline-item:nth-child(2) { animation: fadeInLeft 0.5s ease-out forwards; animation-delay: 1.6s; }
.timeline-item:nth-child(3) { animation: fadeInLeft 0.5s ease-out forwards; animation-delay: 1.8s; }

.timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary);
    border: 4px solid var(--accent);
    transition: all 0.4s ease;
}

.timeline-item:hover::before {
    transform: scale(1.3);
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.2);
    animation: pulse 1.5s infinite;
}

.timeline-year {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-year {
    transform: translateX(5px);
    color: var(--accent-dark);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) translateX(30px);
    opacity: 0;
    animation: slideIn 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 0.7s;
    transition: var(--transition);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateZ(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Keyframe Animations */
@keyframes fadeInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    to {
        transform: perspective(1000px) rotateY(-5deg) translateX(0);
        opacity: 1;
    }
}

@keyframes scaleVertical {
    to {
        transform: scaleY(1);
    }
}

@keyframes drawLine {
    to {
        transform: scaleY(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0);
    }
}

        /* Services Section */
        .services {
            background: 
            linear-gradient(to bottom, #183c61b1 0%, #1a3957a2 100%),
            url('assets/our-services.png') no-repeat center center/cover fixed;
            
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .service-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 2.5rem;
            text-align: center;
            transition: var(--transition);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transform: translateY(0);
        }

        .service-card:hover {
            transform: translateY(-10px);
            background: rgba(243, 156, 18, 0.1);
            border-color: rgba(243, 156, 18, 0.3);
        }

        .service-icon {
            font-size: 3.5rem;
            color: var(--accent);
            margin-bottom: 1.5rem;
        }

        .service-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        /* drop in from above */
@keyframes dropInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* drop in from below */
@keyframes dropInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* helper classes to trigger the animations */
.animate-down {
  animation-name: dropInDown;
  animation-duration: 0.6s;
  animation-fill-mode: both;
}

.animate-up {
  animation-name: dropInUp;
  animation-duration: 0.6s;
  animation-fill-mode: both;
}


        /* Management Section */
        .management {
            text-align: center;
        }

        .management-profile {
            max-width: 800px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 3rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .management-profile::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, #f39c12, #e74c3c);
        }

        .profile-image {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            margin: 0 auto 2rem;
            border: 5px solid var(--accent);
            overflow: hidden;
            position: relative;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
            background:#ffffff;
        }

        .profile-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .profile-name {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .profile-title {
            color: var(--accent);
            margin-bottom: 1.5rem;
        }

        .profile-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .detail-item h4 {
            color: var(--accent);
            margin-bottom: 0.5rem;
        }

        /* Contact Section */
        .contact {
              background: linear-gradient(to bottom, rgba(42, 55, 69, 0.404), rgba(26, 42, 58, 0.9)), url('assets/contacts.png') no-repeat center center/cover fixed;
        }
        .contact-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
              
        }

        .contact-info {
            padding-right: 2rem;
        }

        .contact-info h3 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: var(--accent);
        }

        .contact-details {
            margin-top: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }

        .contact-icon {
            font-size: 1.5rem;
            color: var(--accent);
            margin-right: 1rem;
            min-width: 30px;
        }

       
      #bottomLogo {
  /* Set your desired square size */
  width: 500px;
  height: 500px;

  /* Centering & visual polish */
  margin: 0 auto;               /* centers if its parent is wider */
  border-radius: 12px;          /* soft rounded corners */
  overflow: hidden;             /* clip anything that overflows the square */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
 background: linear-gradient(to bottom, rgba(255, 136, 0, 0.313), rgba(255, 255, 255, 0.911)), url('assets/contacts.png') no-repeat center center/cover fixed;
       
 }

#bottomLogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* scales & crops to fill the square */
  display: block;               /* remove the little inline-image gap */
}

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: var(--light);
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--accent);
            background: rgba(243, 156, 18, 0.1);
        }

        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

        /* Footer */
        .footer {
            background: #0a121b;
            padding: 4rem 2rem 2rem;
            text-align: center;
            width: 100%;
        }

        .footer-content {
            max-width: 1200px;
        
            margin: 0 auto;
        }

        .footer-logo {
            font-size: 2rem;
            font-weight: 700;
            color: var(--light);
            margin-bottom: 1.5rem;
            display: inline-block;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .footer-link {
            color: var(--light);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-link:hover {
            color: var(--accent);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .social-link {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--light);
            font-size: 1.5rem;
            transition: var(--transition);
        }

        .social-link:hover {
            background: var(--accent);
            transform: translateY(-5px);
        }

        .copyright {
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.6);
        }

        /* Animations */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        .floating {
            animation: float 6s ease-in-out infinite;
        }

        @media (max-width: 600px) {
  section, .footer, .container-wrapper {
    max-width: 100vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  body {
    padding-top: 80px;
  }
  .logo {
    font-size: 1.1rem;
  }
  #bottomLogo {
    width: 200px;
    height: 200px;
  }
  .hero-title, .hero-title1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .about-text h3 {
    font-size: 1.2rem;
  }
  .about-description, .about-text p {
    font-size: 0.95rem;
  }
  .profile-name {
    font-size: 1.2rem;
  }
  .profile-title {
    font-size: 1rem;
  }
  .service-title {
    font-size: 1.1rem;
  }
  .service-icon {
    font-size: 2rem;
  }
}

