/* Font Import */
@import url('https://fonts.cdnfonts.com/css/garet');

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

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: var(--primary-blue);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100000;
    border-radius: 0 0 4px 0;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Improved Focus Styles */
*:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

:root {
    --primary-blue: #1a3a4a;
    --dark-blue: #0f2a3a;
    --light-blue: #2c5364;
    --gold: #d4af37;
    --gold-hover: #f4d03f;
    --cyan: #00d4ff;
    --cyan-dark: #00a8cc;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-gray: #6c757d;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Garet Book', 'Garet', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-blue);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, rgba(26, 58, 74, 0.98) 0%, rgba(44, 83, 100, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: linear-gradient(135deg, rgba(26, 58, 74, 1) 0%, rgba(44, 83, 100, 1) 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar.scrolled .logo-circle {
    width: 60px;
    height: 60px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-full {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-circle {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.logo-text {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 20px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-name {
    display: flex;
    flex-direction: column;
    color: var(--white);
}

.company-name {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.company-tagline {
    font-size: 11px;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    opacity: 0.9;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a3a4a 0%, #2c5364 100%);
    min-height: 110vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 58, 74, 0.3) 100%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    min-height: calc(110vh - 100px);
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-logo {
    width: 250px;
    height: 250px;
    animation: logoEntrance 1.5s ease-out;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.3));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.hero-logo:hover img {
    filter: drop-shadow(0 8px 30px rgba(212, 175, 55, 0.5));
    transform: translateY(-5px);
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-180deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.hero-content {
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--cyan);
    margin-bottom: 3rem;
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease;
    text-shadow: 0 4px 30px rgba(0, 212, 255, 0.3);
    position: relative;
}

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

.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
    text-transform: lowercase;
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.2s ease;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: var(--primary-blue);
    border-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-outline:hover::before {
    left: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--primary-blue);
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.hero-image {
    position: relative;
    animation: fadeIn 1.5s ease;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* About Section */
.about {
    padding: 80px 0;
    margin-top: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    position: relative;
    z-index: 5;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 50%, var(--gold) 100%);
    z-index: 10;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-mark {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.section-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    animation: fadeIn 1s ease;
}

.section-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.section-logo:hover img {
    transform: scale(1.1) rotate(10deg);
    filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.4));
}

.contact-logo {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about .section-title {
    color: var(--cyan);
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.2);
}

.services-title,
.why-choose-title,
.solutions-title,
.partners-title {
    color: var(--cyan) !important;
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.2);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.lead-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
    line-height: 1.8;
    opacity: 0.95;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    position: relative;
    z-index: 5;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 50%, var(--gold) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    padding-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease backwards;
    border-top: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--gold);
}

.service-icon {
    margin: -2rem -2rem 1.5rem -2rem;
    display: flex;
    justify-content: center;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--cyan-dark) 100%);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    position: relative;
}

.service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-img {
    transform: scale(1.1);
}

.icon-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--cyan-dark) 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Why Choose Us Section */
.why-choose {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    position: relative;
    z-index: 5;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 50%, var(--gold) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 4rem 0;
}

.feature-box {
    padding: 3rem 2rem;
    border: 2px solid var(--cyan);
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-box:hover::before {
    left: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: var(--gold);
}

.feature-icon-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-svg {
    width: 120px;
    height: 120px;
    color: var(--cyan);
    transition: var(--transition);
}

.feature-box:hover .feature-svg {
    color: var(--gold);
    transform: scale(1.1);
}

.feature-box h3 {
    color: var(--cyan);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

.feature-item {
    display: none;
}

.vision-mission-container {
    margin-top: 6rem;
    position: relative;
    background-image: url('images/vision_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 5rem 0;
    border-radius: 0;
    overflow: hidden;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
}

.vision-mission-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 74, 0.92) 0%, rgba(44, 83, 100, 0.92) 100%);
    z-index: 1;
}

.vision-mission-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 50%, var(--gold) 100%);
    z-index: 3;
}

.vm-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.vm-header .logo-mark {
    background: var(--white);
    width: 80px;
    height: 80px;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.vision, .mission {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vision::before, .mission::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold), transparent, var(--cyan));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.vision:hover::before, .mission:hover::before {
    opacity: 0.3;
}

.vision:hover, .mission:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--gold);
}

.vision h3, .mission h3 {
    color: var(--gold);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1rem;
}

.vision h3::after, .mission h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.vision p, .mission p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 2;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    position: relative;
    z-index: 5;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 50%, var(--gold) 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--gold);
}

.solution-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--cyan-dark) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.solution-card:hover .solution-img {
    transform: scale(1.05);
}

.solution-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.solution-card:hover .solution-image::after {
    left: 100%;
}

.solution-card h3 {
    color: var(--primary-blue);
    padding: 1.5rem 1.5rem 1rem;
    font-size: 1.3rem;
}

.solution-card p {
    color: var(--text-gray);
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 50%, var(--gold) 100%);
}

/* Partners Slider Container */
.partners-slider-container {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.partners-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
    cursor: grab;
    user-select: none;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partners-track:active {
    cursor: grabbing;
}

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

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0);
    min-height: 120px;
    margin: 0 1.5rem;
    min-width: 220px;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
    pointer-events: none;
}

.partner-logo:hover::before {
    width: 300%;
    height: 300%;
}

/* Removed shimmer animation - using radial gradient effect instead */

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 58, 74, 0.15), 0 5px 15px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.partner-img {
    width: auto;
    max-width: 180px;
    height: 80px;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
    filter: grayscale(0.2) opacity(0.9);
}

/* Special handling for Afrinetics logo if it appears small */
.partner-logo:nth-child(3) .partner-img {
    max-width: 200px;
    height: 100px;
    max-height: 100px;
}

/* Mobile-friendly styles for partners slider */
@media (max-width: 768px) {
    .partners-slider-container {
        padding: 1rem 0;
    }
    
    .partner-logo {
        padding: 1.5rem 2rem;
        min-width: 180px;
        margin: 0 1rem;
    }
    
    .partners-track {
        animation-duration: 25s;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        padding: 1rem 1.5rem;
        min-width: 150px;
        margin: 0 0.75rem;
        min-height: 90px;
    }
    
    .partners-track {
        animation-duration: 20s;
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.partner-logo:hover .partner-img {
    transform: scale(1.1);
    filter: grayscale(0) opacity(1);
}

.partner-placeholder {
    width: 180px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.partner-placeholder:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--cyan-dark) 100%);
    color: var(--white);
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 0;
    background: #0a2e3d;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.contact-left {
    background: linear-gradient(135deg, #0a2e3d 0%, #1a3a4a 100%);
    padding: 80px 60px;
    display: flex;
    align-items: center;
}

.contact-right {
    position: relative;
    overflow: hidden;
}

.contact-right .contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.contact-content {
    max-width: 600px;
    text-align: left;
}

.contact-title {
    font-size: 3.5rem;
    color: var(--cyan);
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: -1px;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--white);
}

.btn-contact {
    background: transparent;
    color: var(--cyan);
    border: 2px solid var(--cyan);
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    text-transform: lowercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 4rem;
}

.btn-contact:hover {
    background: var(--cyan);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.contact-tagline {
    font-size: 1rem;
    letter-spacing: 2px;
    line-height: 1.8;
    color: var(--cyan);
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    text-align: left;
}

.contact-label {
    display: block;
    font-size: 1rem;
    color: var(--cyan);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    font-weight: 300;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--cyan);
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

.linkedin-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #0077b5;
    border-radius: 50%;
    padding: 8px;
    transition: all 0.3s ease;
    color: white;
}

.linkedin-icon:hover {
    background: #005885;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.4);
}

.linkedin-icon svg {
    width: 100%;
    height: 100%;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, var(--white) 0%, rgba(248, 249, 250, 1) 100%);
    margin: 2% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 60px rgba(26, 58, 74, 0.3);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--gold-hover);
}

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

.close {
    color: var(--text-gray);
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.3rem;
}

.form-note {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.required {
    color: #dc3545;
    margin-left: 3px;
    font-weight: bold;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background-color: linear-gradient(180deg, var(--white) 0%, rgba(212, 175, 55, 0.02) 100%);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 50%, var(--gold) 100%);
}

.footer p {
    opacity: 0.8;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--primary-blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
}

/* Responsive Design */

/* Tablet styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .hero-logo {
        width: 200px;
        height: 200px;
    }
    
    .services-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 58, 74, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 0.5rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-left {
        align-items: center;
    }

    .hero-logo {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-image {
        display: none;
    }

    .logo-name {
        display: none;
    }

    .services-grid,
    .solutions-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .vision-mission {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .vision-mission-container {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        border-radius: 0;
    }

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

    .contact-details {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-split {
        grid-template-columns: 1fr;
    }

    .contact-left {
        padding: 40px 20px;
    }

    .contact-right {
        display: none;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-tagline {
        font-size: 0.9rem;
    }

    .btn-contact {
        width: 100%;
        max-width: 300px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }
}

/* Small mobile styles */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .service-card,
    .solution-card {
        padding: 1.5rem;
    }
    
    .feature-box {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* Animations for scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Additional Gold-Blue Corporate Styling */
.service-card h3 {
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 0.5rem;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.solution-card h3 {
    color: var(--primary-blue);
    position: relative;
}

.solution-card h3::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--gold);
}