:root {
   --primary: #1e3e70;
    --accent: #1e3e70;
    --success : #1a5276;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gold: #d4af37;
    --gray: #95a5a6;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
 /* :root {
        --primary: #1e3e70;
        --dark: #2c3e50;
        --light: #f8f9fa;
        --accent: #1e3e70;
        --warning: #e74c3c;
    } */
body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    color: #333;
    margin: 0;
    padding: 0;
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--dark);
    color: #ddd;
    font-size: 0.92rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-contact {
    display: inline-flex;
}

.topbar-contact a {
    color: #ccc;
    margin-right: 1.5rem;
    font-weight: 500;
    transition: color 0.3s;

}

.topbar-contact a:hover {
    color: var(--accent);
}

.topbar-contact i {
    color: var(--accent);
    margin-right: 6px;
    font-size: 1.1rem;
}
.header-icon{
    color: var(--light) !important;
}
.socials {
    display: inline-flex;
    gap: 8px;
    margin-left: 1.5rem;
}

.socials a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.socials a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.log-in-out {
    background: rgba(255, 255, 255, 0.12);
    color: #eee;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-right: 1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.log-in-out:hover {
    background: var(--accent);
    color: white;
}

/* ===== MAIN NAV ===== */
.main-bar.stick {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    padding: 12px 0;
    transition: all 0.4s ease;
    z-index: 999;
}

.main-bar.stick.scrolled {
    padding: 8px 0;
    background: white;
}

.logo img {
    height: 75px;
    transition: height 0.3s;
}

.main-bar.stick.scrolled .logo img {
    height: 50px;
}

.main-menu>ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu>ul>li {
    position: relative;
}
ul li {
    list-style: none;
}
.main-menu>ul>li>a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 12px;
    transition: all 0.3s;
    white-space: nowrap;
    text-decoration: none;
}

.main-menu>ul>li:hover>a,
.main-menu>ul>li.active>a {
    background: linear-gradient(135deg, var(--accent), #219653);
    color: white;
    box-shadow: 0 6px 18px rgba(39, 174, 96, 0.25);
}

.main-menu>ul>li>a i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.main-menu>ul>li:hover>a i {
    transform: rotate(180deg);
}

/* Dropdown */
.main-menu ul ul {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 300px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 12px 0;
    margin-top: 8px;
    z-index: 100000;

}

.main-menu ul ul::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.main-menu>ul>li:hover>ul {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.main-menu ul ul a {
    color: var(--dark);
    padding: 10px 20px;
    display: block;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
}

.main-menu ul ul a:hover {
    background: var(--light);
    color: var(--accent);
    padding-left: 26px;
}

/* CTA Buttons */
.main-menu .btn {
    margin-left: 12px;
    padding: 10px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
    transition: all 0.3s;
    text-decoration: none;
}

.main-menu .btn:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.main-menu .btn i {
    margin-right: 6px;
}

/* ===== RESPONSIVE HEADER (Mobile/Tablet) ===== */
.responsive-header .main-bar {
    background: white;
    box-shadow: var(--shadow);
    padding: 10px 0;
    position: relative;
}

.resp-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--accent);
    border-radius: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.resp-btn i {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.resp-btn.active i:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.resp-btn.active i:nth-child(2) {
    opacity: 0;
}

.resp-btn.active i:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 992px) {
    .resp-btn {
        display: flex;
    }

    .main-menu {
        display: none;
    }

    .responsive-header .logo img {
        height: 48px;
    }
}

/* ===== MOBILE SIDE MENU ===== */
.menu-wraper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
    overflow-y: auto;
}

.menu-wraper.active {
    right: 0;
}

.close-menu {
    position: relative;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
}

.side-menu ul {
    margin-top: 3rem;
    padding: 0;
}

.side-menu ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu ul li a {
    color: #eee;
    padding: 14px 0;
    display: block;
    font-weight: 500;
    text-decoration: none;
}

.side-menu ul li ul {
    padding-left: 1.5rem;
    background: transparent;
    box-shadow: none;
}

.side-menu ul li ul a {
    color: #ccc;
    font-size: 0.95rem;
}

.side-meta.topbar.style2 {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.side-meta a {
    color: #ccc;
}

.side-meta a:hover {
    color: var(--accent);
}

ul li {
    text-decoration: none !important;
}
section{
    z-index: -1 !important;
}
/* Hero Banner */
.hero {
   background: linear-gradient(135deg, rgba(26, 82, 118, 0.5), rgba(44, 62, 80, 0.92)), url('https://images.unsplash.com/photo-1516841273335-e39b37888115?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    color: white;
    padding: 180px 0 140px;
    position: relative;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: #1a1a1a;
    padding: 8px 26px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 1.3rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.35rem;
    max-width: 950px;
    margin: 0 auto 2.5rem;
    opacity: 0.94;
}

/* Certificate Tracker */
.certificate-tracker {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    max-width: 700px;
    margin: 2.5rem auto 0;
}

.tracker-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    text-align: center;
}

.search-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-group input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s;
}

.search-group input:focus {
    border-color: var(--success);
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.15);
}

.search-group button {
    background: var(--success);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-group button:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.video-wrapper {
    position: relative;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: none;
}

/* Optional: Thumbnail + Play Button (Uncomment in HTML to use) */
/*
    .video-wrapper img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        filter: brightness(0.8);
        transition: filter 0.3s;
    }
    .play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70px;
        height: 70px;
        background: rgba(39, 174, 96, 0.9);
        color: white;
        border: none;
        border-radius: 50%;
        font-size: 1.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }
    .play-btn:hover {
        background: #27ae60;
        transform: translate(-50%, -50%) scale(1.1);
    }
    */

/* Online Registration CTA */
.online-reg-cta {
    background: linear-gradient(135deg, var(--success), #219653);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.3);
}

.online-reg-cta h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.online-reg-cta .btn {
    background: white;
    color: var(--success);
    padding: 14px 38px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* Section Title */
.section-title {
    font-weight: 700;
    color: var(--primary);
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 3.2rem;
    font-size: 2.6rem;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 110px;
    height: 6px;
    background: linear-gradient(90deg, var(--success), var(--primary));
    border-radius: 3px;
}
figure {
  margin: 0 0 1rem;
  z-index: -1;
  position: relative;
}
/* About Us */
.about-us {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}

.about-us h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.2rem;
}

.about-us p {
    color: #555;
    margin-bottom: 1.5rem;
}

.about-us .btn {
    background: var(--success);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

/* Grid List: Specializations */
.grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.grid-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.grid-icon {
    font-size: 2.2rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.grid-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
}

/* Courses Grid - 3 Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.16);
}

.course-img {
    height: 200px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s;
}

.course-card:hover .course-img img {
    transform: scale(1.12);
}

.course-body {
    padding: 1.8rem;
}

.course-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: #666;
    margin-bottom: 1rem;
}

.course-meta i {
    color: var(--success);
    margin-right: 6px;
}

.course-desc {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.course-btn {
    background: var(--success);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Number Counter */
.counter-section {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 90px 0;
    text-align: center;
}

.counter-item {
    margin-bottom: 1.5rem;
}

.counter-num {
    font-size: 3.6rem;
    font-weight: 800;
    display: block;
    color: var(--gold);
}

.counter-label {
    font-size: 1.2rem;
    opacity: 0.92;
}

/* Swiper Sliders */
.swiper-container {
    padding: 2rem 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: auto !important;
}

/* Testimonials Slider */
.testimonial {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); */
    position: relative;
    height: auto;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: var(--success);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--light);
}

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

.author-name {
    font-weight: 600;
    color: var(--dark);
}

.author-role {
    font-size: 0.88rem;
    color: var(--success);
}

/* Instructors Slider */
.instructor-card {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09); */
    transition: all 0.3s;
    height: 100%;
}

.instructor-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.2rem;
    border: 5px solid var(--light);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

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

.instructor-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.instructor-title {
    color: var(--success);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--success);
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--success);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.3rem;
    }

    .search-group {
        flex-direction: column;
    }

    .search-group input,
    .search-group button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 110px;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

.modern-footer {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: #ddd;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* Quick Links Section */
.quick-links-section {
    padding: 60px 0 40px;
    position: relative;
}

.quick-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 82, 118, 0.92);
    z-index: 0;
}

.quick-links-section .container {
    position: relative;
    z-index: 1;
}

.footer-title {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent);
    opacity: 0;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Main Footer */
.main-footer-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 4px;
}

.contact-info a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--accent);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
}

.social-btn.facebook:hover {
    background: #1877f2;
}

.social-btn.twitter:hover {
    background: #1da1f2;
}

.social-btn.instagram:hover {
    background: #e4405f;
}

.social-btn.linkedin:hover {
    background: #0077b5;
}

/* Newsletter */
.newsletter-form .input-group {
    position: relative;
    max-width: 100%;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 50px 12px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
}

.newsletter-form .form-control::placeholder {
    color: #aaa;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
    color: white;
}

.btn-submit {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--accent);
    transform: scale(1.1);
}

/* Bottom Bar */
.bottom-bar {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-bar a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.arty-link {
    color: #ddd;
}

.arty {
    background: linear-gradient(90deg, var(--gold), #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {

    .quick-links-section,
    .main-footer-section {
        padding: 40px 0;
    }

    .footer-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .contact-info li {
        justify-content: center;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .newsletter-form {
        max-width: 280px;
        margin: 0 auto;
    }
}
#wpfooter {
 display: none;
}
/* Scroll Top Button - Fixed at bottom-right */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background: #0056b3;                  /* Dark blue – change to your brand color */
    color: #ffffff;
    font-size: 24px;
    line-height: 50px !important;
    text-align: center;
    border-radius: 50%;                    /* Perfect circle */
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Show button when scrolled down */
.scroll-top.show {
    opacity: 1;
    visibility: visible;
    bottom: 30px;                         /* slight lift on show */
}

/* Hover effect */
.scroll-top:hover {
    background: #003d82;                   /* darker shade on hover */
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Optional: Pulse animation when visible */
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.6); }
    70%  { box-shadow: 0 0 0 12px rgba(0, 86, 179, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 86, 179, 0); }
}
.scroll-top.show {
    animation: pulse 2s infinite;
}
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px;               /* above scroll-to-top button */
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 34px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}

/* Pulse Animation */
@keyframes whatsappPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70%  { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Optional: Show small "Chat with us" tooltip on hover (desktop only) */
.whatsapp-float::after {
    content: "Chat on WhatsApp";
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive – slightly smaller on mobile */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 30px;
        bottom: 85px;
    }
}
/* Call Floating Button – Same style as WhatsApp */
.call-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 160px;                 /* Stacked above WhatsApp button */
    right: 20px;
    background-color: #e74c3c;     /* Red color for call */
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: callPulse 2s infinite;
}

.call-float:hover {
    background-color: #c0392b;
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}

/* Pulse animation (red version) */
@keyframes callPulse {
    0%   { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70%  { box-shadow: 0 0 0 12px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* Tooltip on hover (desktop) */
.call-float::after {
    content: "Call Now";
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.call-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Mobile adjustment */
@media (max-width: 480px) {
    .call-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 150px;
    }
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.contact-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.contact-wrapper {
    padding: 80px 0 100px;
    background: #f5f7fa;
}

.contact-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info-side {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 60px 50px;
}

.contact-info-side .footer-title {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.contact-info i {
    color: var(--gold);
    font-size: 1.4rem;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
}

.contact-info a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--gold);
}

.form-side {
    padding: 60px 70px;
    background: white;
}

.form-side h3 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

/* CF7 Form Styling – Matches Your Theme Perfectly */
.wpcf7-form .row > div {
    margin-bottom: 1.5rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 16px;
    font-size: 1rem;
    background: #f8f9fa;
    transition: all 0.3s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--success);
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 82, 118, 0.12);
}

.wpcf7-form textarea {
    min-height: 160px;
    resize: vertical;
}

.wpcf7-submit {
    background: linear-gradient(135deg, var(--success), #219653);
    color: white;
    padding: 16px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    width: 100%;
    margin-top: 1rem;
}

.wpcf7-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, #219653, var(--success));
}

@media (max-width: 992px) {
    .contact-info-side,
    .form-side {
        padding: 50px 30px;
    }
    .contact-hero h1 {
        font-size: 3rem;
    }
}