/* ============================================
   Christ Divine Communication - Main Styles
   Theme Colors: Blue (#0056b3, #1e90ff), Orange (#ff8c00, #ff6600), White (#ffffff)
   ============================================ */

/* === CSS Variables === */
:root {
    --primary-blue: #0056b3;
    --light-blue: #1e90ff;
    --primary-orange: #ff8c00;
    --dark-orange: #ff6600;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-gray: #666666;
    --border-gray: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Header & Navigation === */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
}

.top-bar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary-orange);
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 16px;
}

.social-links a:hover {
    color: var(--primary-orange);
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 0;
}

.logo-christ {
    color: var(--primary-blue);
}

.logo-divine {
    color: var(--primary-orange);
}

.logo-tagline {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: -5px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 5px 15px var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 10px;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-gray);
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 25px;
}

/* === Hero Section === */
.hero {
    position: relative;
    /* top: -80px; */
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.comm-hero {
    background-image: url('./homewallpaper.png');
    background-size: cover;
    background-position: center;
    color: white;
    /* height: 100vh; */
    /* padding: 100px 0; */
    /* text-align: center; */
    /* position: relative; */
    /* top: -90px; */
}

/* .hero-slide:nth-child(2) {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
} */

/* .hero-slide:nth-child(3) {
    background: linear-gradient(135deg, #0056b3 0%, var(--primary-orange) 100%);
} */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.3); */
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 8rem;
    padding-top: 5rem;
    /* display: ; */
    /* align-items: center; */
    color: var(--white);
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-controls button:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    width: 30px;
    border-radius: 10px;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

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

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

/* === Sections === */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
}

/* === Business Divisions === */
.business-divisions {
    background: var(--light-gray);
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.division-card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
    position: relative;
}

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.division-card.featured {
    border: 3px solid var(--primary-orange);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.division-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.division-card:nth-child(2) .division-icon {
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
}

.division-card h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.division-card > p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.division-features {
    text-align: left;
    margin-bottom: 25px;
}

.division-features li {
    padding: 8px 0;
    color: var(--dark-gray);
}

.division-features i {
    color: var(--primary-orange);
    margin-right: 10px;
}

/* === Why Choose Us === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid var(--light-gray);
}

.feature-box:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 10px 20px var(--shadow);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.feature-box:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
}

.feature-box h4 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* === Testimonials === */
.testimonials {
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.testimonial-stars {
    color: var(--primary-orange);
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-text {
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author > div:last-child {
    display: flex;
    flex-direction: column;
}

.testimonial-author h5 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 14px;
}

/* === Call to Action === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* === Footer === */
.footer {
    background: var(--dark-gray);
    color: var(--white);
}

.footer-main {
    padding: 60px 0 30px;
}

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

.footer-col h3,
.footer-col h4 {
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.footer-col p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.footer-social a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #cccccc;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.contact-info li {
    color: #cccccc;
    margin-bottom: 12px;
}

.contact-info i {
    color: var(--primary-orange);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #cccccc;
}

/* === Form Styles === */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-gray);
    border-radius: 5px;
    font-size: 16px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark-gray);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

select.form-control[multiple] {
    background-image: none;
    padding-right: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.quote-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-header {
    background-image: url("./img_02-175x197.jpg.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    color:  var(--white);
    text-align: center;
}

.service-card:nth-child(even) .service-header {
    background: url("./img_01-2-449x204.jpg.png");
    color: var(--white);
}

.service-body {
    padding: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-item {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-item:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
}

.product-icon {
    border-radius: 8%;
    height: 200px;
    width: 300px;
    position: center;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white); 
}

/* .product-item:nth-child(even) .product-icon {
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
} */

/* Academy */
.academy-item:hover {
    border-color: var(--primary-orange);
    transform: translateY(-8px);
    border: 2px solid transparent;
}

/* Form validation styles */
.form-control.error {
    border-color: #ff6600;
    background-color: #fff5f5;
}

.form-control.success {
    border-color: #4CAF50;
}

.error-message {
    background: var(--dark-orange);
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.success-message {
    background: #4CAF50;
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Contact Page Styles === */
.contact-form-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.info-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.map-container {
    background: var(--light-gray);
    padding: 80px 0;
}

.map-wrapper {
    background: var(--white);
    padding: 0px 0px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

iframe {
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.branches-section {
    padding: 80px 0;
}

.branch-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    border-left: 4px solid var(--primary-orange);
}

/* === Page Header Styles === */
.page-header {
    background-image: url('./Background.png');
    background-size: cover;
    background-position: center;
    height: 50vh;
    padding: 90px 0;
    text-align: center;
    color: var(--white);
}

/* Engineering Styles */
 /* Why Choose Us */
 .chooseUsCard1 {
    text-align: center;
    padding: 30px;
    animation: fadeScale 1s ease-out forwards;
    opacity: 0;
    transform: scale(0.95);
}

@keyframes fadeScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.chooseUsCard1:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
.chooseUsCard2 {
    text-align: center;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.8s ease-out forwards;
}

.chooseUsCard2:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 86, 179, 0.3);
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Stlyes */
.scroll-animate {
    opacity: 0;
    transform: translateY(0);
    transition: all 1s ease-out;
}
.from-left{
    transform: translateX(-100px);
}
.from-right {
    transform: translateX(100px);
}
.from-top {
    transform: translateY(-100px);
}
.from-bottom {
    transform: translateY(100px)
}
/* About Page */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.mission-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 30px;
}
.core-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-top: 50px;
}
.choose-grid{
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
    margin-top: 50px;
}
/* Academy Page */
.academyHomeBg {
    background-image: url('./Homewallpaper2.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 100vh;
    padding: 100px 0;
    top: -90px;
}
.AcademyMainBg {
    background-image: url('./academyBg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 55vh;
    width: 100%;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.title {
    font-size: 48px; 
    margin-bottom: 15px;
}

.Subtitle {
    font-size: 20px;
}

.welcome-grid {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
    margin-top: 50px;
}
.academy-choose-grid {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-top: 50px;
}
/* Engineering Page */
.EngBackgroundHome {
    background-image: url('./EngBg.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    padding: 100px 0;
    top: -90px;
    color: white;
}
.EngBackgroundMain {
    background-image: url('./image.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    padding: 100px 0;
    text-align: center;
    position: relative;
    color: black;
}

.ConstructionBG {
    background-image: url('./wall-textures-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0px;
}

.EngChooseBg {
 background-image: url("./image.svg");
 background-repeat: no-repeat;
 background-size: cover;
 /* background-position: center; */
 padding: 80px 0;
}

.services-grid {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    margin-top: 50px;
}
.eng-choose-grid {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-top: 50px;
}
.eng-overview-grid {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
    margin-top: 50px;
}
.eng-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
/* === Responsive Design === */
@media (max-width: 768px) {
    body {
      overflow-x: hidden;
    }

    .EngBackgroundHome,
    .academyHomeBg {
        background-position: top;
        height: 81vh;
        padding: 9rem 0rem;
        align-items: center;
        display: flex;
    }

    .EngBackgroundMain,
    .AcademyMainBg {
        background-position: top;
        height: 60vh;
        align-items: center;
        display: flex;
    }

    .page-header {
        background-position: top;
        height: 40vh;
        padding-top: 10rem 0rem;
        align-items: center;
        display: flex;
    }

    .product-icon {
        height: 400px;
        width: 100%;
        border-radius: 20px;
    }

    .overview-grid,
    .mission-grid,
    .core-grid,
    .choose-grid,
    .welcome-grid,
    .academy-choose-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .eng-choose-grid,
    .eng-overview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px
    }

    .eng-info-grid {
        grid-template-columns: 2fr 1fr;
        gap: 30px;
    }

    .top-bar {
        display: none;
    }
    .hero-controls {
        display: none;
    }
    
    .contact-info span {
        display: block;
        margin: 5px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px var(--shadow);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 32px;
        
    }

    .title {
        font-size: 32px;
        margin-bottom: 5px;
    }

    .Subtitle {
       font-size: 14px;
    }

    .hero-content {
        display: flex;
        align-items: center;
        padding-top: 0px;
        padding: 0px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quote-form {
        padding: 25px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-box {
        padding: 25px;
    }
}

@media (max-width: 720px) {
    body {
      overflow-x: hidden;
    }

    .EngBackgroundMain {
        background-size: contain cover;
        background-position: center top;
        height: 25vh;
        align-items: center;
        display: flex;
    }
    .AcademyMainBg {
        background-size: contain cover;
        background-position: center top;
        height: 30vh;
        padding-top: 10rem 0rem;
        align-items: center;
        display: flex;
  }

    .page-header {
        background-size: cover;
        background-position: center top;
        height: 25vh;
        padding-top: 12rem 0rem;
        align-items: center;
        display: flex;
    }

    .title {
        font-size: 35px;
    }

    .Subtitle {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .divisions-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 30px;
    }

    .title {
        font-size: 30px;
    }

    .Subtitle {
        font-size: 12px;
    }
    
    .hero-controls button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .top-bar {
        display: hidden;
    }

    body {
      overflow-x: hidden;
    }

    .EngBackgroundMain {
    background-size: contain cover;
    background-position: center top;
    height: 50vh;
    align-items: center;
    display: flex;
    }
    .AcademyMainBg {
    background-size: cover;
    background-position: center top;
    height: 36vh;
    padding-top: 10rem 0rem;
    align-items: center;
    display: flex;
  }

    .page-header {
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        height: 20vh;
        padding-top: 10rem 0rem;
        align-items: center;
        display: flex;
    }
}