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

:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --background-color: #f5f5f5;
    --text-color: #333;
    --light-bg: #ffffff;
    --dark-bg: #002244;
    --accent-bg: #f9f9f9;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Fade-in animation for page content */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out forwards;
}

section:nth-child(2) {
    animation-delay: 0.1s;
}

section:nth-child(3) {
    animation-delay: 0.2s;
}

section:nth-child(4) {
    animation-delay: 0.3s;
}

section:nth-child(5) {
    animation-delay: 0.4s;
}

section:nth-child(6) {
    animation-delay: 0.5s;
}

section:nth-child(7) {
    animation-delay: 0.6s;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: titleUnderline 2s infinite alternate;
}

@keyframes titleUnderline {
    0% {
        width: 80px;
    }
    100% {
        width: 120px;
    }
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

li {
    position: relative;
}

li:before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all var(--transition-speed) ease;
}

li:hover:before {
    opacity: 1;
    left: -20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    transition: all var(--transition-speed) ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 51, 102, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #e6c200);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e6c200, var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

/* Ripple effect for buttons */
.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(50, 50);
        opacity: 0;
    }
}

/* Header Styles */
.main-header {
    background-color: var(--light-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: all var(--transition-speed) ease;
}

.logo-img {
    height: 80px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2)) brightness(1.1);
}

.company-name {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.company-name:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.company-name:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.company-name:hover:after {
    width: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
    position: relative;
}

.nav-menu a {
    font-weight: 700;
    transition: all var(--transition-speed) ease;
    padding: 10px 5px;
    position: relative;
}

.nav-menu a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.nav-menu a:hover:before {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a.clicked {
    color: var(--secondary-color);
    transform: scale(1.1);
    transition: all var(--transition-speed) ease;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.header-contact {
    display: flex;
    gap: 15px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-bg), #f0f0f0);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.contact-icon:hover:before {
    left: 100%;
}

.contact-icon:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
}

.contact-icon i {
    transition: transform var(--transition-speed) ease;
}

.contact-icon:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('../assets/hero-bg.jpg') center/cover no-repeat;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    padding: 150px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 20%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, 10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 3rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin: 0 0 30px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-out;
}

.cta-buttons {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    animation: fadeInUp 2s ease-out;
}

/* Company Overview */
.company-overview {
    padding: 80px 0;
    background-color: var(--light-bg);
    position: relative;
}

.company-overview:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.03) 0%, transparent 40%);
    z-index: 1;
}

.company-overview .container {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.company-overview h2 {
    animation: fadeInDown 1s ease-out;
}

.company-overview p {
    animation: fadeInUp 1.2s ease-out;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Branches Section */
.branches-section {
    padding: 80px 0;
    background-color: var(--background-color);
    position: relative;
}

.branches-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
    z-index: 1;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.branch-card {
    background: linear-gradient(135deg, var(--light-bg), #f8f8f8);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(30px);
}

.branch-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.branch-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.branch-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
}

.branch-card h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.branch-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.branch-address {
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.95rem;
}

.branch-contact {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* Branch Images */
.branch-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.branch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.branch-card:hover .branch-image {
    transform: scale(1.05);
}

.branch-image-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 51, 102, 0.2), transparent);
    z-index: 1;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--light-bg);
    position: relative;
}

.services-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(0, 51, 102, 0.03) 0%, transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 215, 0, 0.03) 0%, transparent 30%);
    z-index: 1;
}

.services-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.service-category {
    background: linear-gradient(135deg, var(--accent-bg), var(--light-bg));
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(30px);
}

.service-category.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-category:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
}

.service-category h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 15px;
}

.service-category h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.services-list {
    list-style: none;
}

.services-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    transition: all var(--transition-speed) ease;
}

.services-list li:hover {
    transform: translateX(5px);
}

.services-list li:last-child {
    border-bottom: none;
}

.service-icon {
    margin-right: 15px;
    color: var(--secondary-color);
    width: 24px;
    transition: all var(--transition-speed) ease;
    font-size: 1.1rem;
}

.service-icon:hover {
    transform: scale(1.3) rotate(10deg);
}

.services-list li:hover .service-icon {
    color: var(--primary-color);
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: var(--background-color);
    position: relative;
}

.partners-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 51, 102, 0.03) 0%, transparent 40%);
    z-index: 1;
}

.partners-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 50px;
    height: 120px;
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scroll-left 30s linear infinite;
    align-items: center;
    height: 100%;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    flex: 0 0 180px;
    /* Increased from 150px */
    height: 100px;
    /* Increased from 80px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: transparent;
    /* No background as requested */
    border-radius: 0;
    /* Remove rounded corners */
    box-shadow: none;
    /* Remove shadow */
    opacity: 0;
    transform: translateY(30px);
}

.partner-logo.animated {
    opacity: 1;
    transform: translateY(0);
}

.partner-logo img {
    max-width: 150px;
    /* Increased from 120px */
    max-height: 80px;
    /* Increased from 60px */
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Enhanced default effect */
    will-change: transform, filter;
}

/* Persistent hover effect - remains active after hover ends */
.partner-logo.active img {
    filter: grayscale(0%) contrast(1) brightness(1.1);
    transform: scale(1.2);
}

.partner-logo.active {
    transform: translateY(-15px) scale(1.2);
}

/* Enhanced hover effect */
.partner-logo:hover img {
    filter: grayscale(0%) brightness(1.3) contrast(1.1);
    transform: scale(1.2) rotate(5deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.partner-logo:hover {
    transform: translateY(-15px) scale(1.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}



/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

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

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

.contact-header .section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.contact-header .section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 20px auto 0;
}

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

/* Contact Information Simple */
.contact-info-simple {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 1.5rem;
}

.info-details h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-details p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.info-details a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-details a:hover {
    color: var(--primary-color);
}

/* Contact Form Simple */
.contact-form-simple {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.simple-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    margin-bottom: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
}

.btn-submit:active {
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 20px) rotate(90deg);
    }
    50% {
        transform: translate(40px, 0) rotate(180deg);
    }
    75% {
        transform: translate(20px, -20px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.contact-section .wave-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z' fill='%23003366' fill-opacity='.1'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    z-index: 1;
    opacity: 0.3;
    animation: wave 20s linear infinite alternate;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100px);
    }
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: white;
    padding: 60px 0 30px;
    position: relative;
}

.main-footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

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

.footer-links h4,
.footer-branches h4,
.social-media h4 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.3rem;
}

.footer-links h4:after,
.footer-branches h4:after,
.social-media h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.footer-links ul li,
.footer-branches ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-branches li {
    color: #ccc;
    transition: all var(--transition-speed) ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a:before {
    content: '→';
    position: absolute;
    left: 0;
    transition: all var(--transition-speed) ease;
}

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

.footer-links a:hover:before {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.3rem;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.social-icons a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.social-icons a:hover:before {
    left: 100%;
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #ccc;
    font-size: 0.9rem;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: var(--secondary-color);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.4);
    transition: all var(--transition-speed) ease;
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
}

#scrollToTopBtn.show {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

#scrollToTopBtn:hover {
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.5);
    color: white;
}

#scrollToTopBtn:active {
    transform: translateY(0) scale(0.95);
}

/* Additional Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes pulseGrow {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

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

    h2 {
        font-size: 1.7rem;
    }

    .hero-section {
        padding: 70px 0;
    }

    .contact-content-simple {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-simple {
        order: 2;
    }

    .contact-form-simple {
        order: 1;
    }


}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

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

.testimonials-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.testimonials-section .section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.testimonials-section .section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 25px auto 0;
    font-weight: 400;
}

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

.testimonial-card {
    background: #fafafa;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.1);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 5rem;
    color: rgba(255, 215, 0, 0.1);
    font-family: Georgia, serif;
    font-weight: bold;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.1);
}

.client-avatar i {
    color: white;
    font-size: 1.5rem;
}

.client-details h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 700;
}

.client-details p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-card:before {
        font-size: 4rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .header-contact {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 80%;
        margin: 10px 0;
    }

    .contact-section .decorative-circle.large {
        width: 200px;
        height: 200px;
        top: -100px;
        right: -100px;
    }

    .contact-section .decorative-circle.small {
        width: 100px;
        height: 100px;
        bottom: -50px;
        left: -50px;
    }

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

    .contact-wrapper {
        padding: 0 15px;
    }

    .contact-header .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .contact-content-simple {
        gap: 25px;
    }

    .contact-form-simple {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-item {
        gap: 15px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon i {
        font-size: 1.2rem;
    }

    .info-details h4 {
        font-size: 1.1rem;
    }


}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }

    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-section .section-header h2 {
        font-size: 1.8rem;
    }

    .testimonials-section .section-description {
        font-size: 1rem;
    }

    .testimonials-grid {
        gap: 25px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .client-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .client-avatar {
        width: 50px;
        height: 50px;
    }

    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .branches-grid,
    .services-categories {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Responsive adjustments for partner logos */
    .partner-logo {
        flex: 0 0 140px;
        /* Reduced from 180px */
        height: 80px;
        /* Reduced from 100px */
    }

    .partner-logo img {
        max-width: 12 0px;
        /* Reduced from 150px */
        max-height: 65px;
        /* Reduced from 80px */
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-section .decorative-circle.large {
        width: 150px;
        height: 150px;
        top: -75px;
        right: -75px;
    }

    .contact-section .decorative-circle.small {
        width: 75px;
        height: 75px;
        bottom: -37px;
        left: -37px;
    }

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

    .contact-header .section-title {
        font-size: 1.8rem;
    }

    .contact-form-simple {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
    }

    .btn-submit {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .info-details h4 {
        font-size: 1rem;
    }

    .info-details p {
        font-size: 0.9rem;
    }
}