:root {
    /* Color palette - Blue & Silver Metallic inspired by logo */
    --primary-blue: #1a5f8f;
    --secondary-blue: #2a7cb8;
    --accent-blue: #3d9fe0;
    --dark-blue: #0d3d5c;
    --silver: #c0d4e0;
    --metallic-silver: #8fa9ba;
    --deep-water: #0a2a3d;
    --light-foam: #e8f3f8;
    
    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--deep-water);
    line-height: 1.6;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 42, 61, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: white;
    letter-spacing: 8px;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition);
}

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

.nav-links .cta-button {
    background: var(--accent-blue);
    padding: 12px 30px;
    border-radius: 4px;
}

.nav-links .cta-button::after {
    display: none;
}

.nav-links .cta-button:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(10, 42, 61, 0.85) 0%, rgba(26, 95, 143, 0.85) 50%, rgba(42, 124, 184, 0.85) 100%),
        url('images/logos/logo.png') center center / cover no-repeat;
    z-index: 0;
}

.water-effect {
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(61, 159, 224, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(42, 124, 184, 0.2) 0%, transparent 50%);
    animation: waterFlow 20s ease-in-out infinite;
}

@keyframes waterFlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10%, -5%) scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

.title-line {
    display: block;
    animation: slideIn 0.8s ease-out backwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-line.highlight {
    color: var(--accent-blue);
    text-shadow: 0 0 30px rgba(61, 159, 224, 0.5);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 50px;
    color: var(--silver);
    animation: fadeIn 1s ease-out 0.8s backwards;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeIn 1s ease-out 1s backwards;
}

.btn-primary, .btn-secondary {
    padding: 18px 45px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(61, 159, 224, 0.4);
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(61, 159, 224, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeIn 1s ease-out 1.2s backwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: white;
    margin-bottom: 10px;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.5); }
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--dark-blue);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--metallic-silver);
    font-weight: 300;
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    background: var(--light-foam);
}

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

.service-card {
    background: white;
    padding: 50px 35px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 95, 143, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    color: var(--accent-blue);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--metallic-silver);
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
    padding: var(--section-padding) 0;
}

.portfolio-grid {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--light-foam);
    padding-bottom: 20px;
}

.portfolio-item {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 350px;
    min-width: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-grid::-webkit-scrollbar {
    height: 8px;
}

.portfolio-grid::-webkit-scrollbar-track {
    background: var(--light-foam);
    border-radius: 4px;
}

.portfolio-grid::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

.portfolio-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.portfolio-item:hover .placeholder-image {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 30px;
    background: white;
}

.portfolio-info h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.portfolio-info p {
    color: var(--metallic-silver);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
    background: white;
    max-height: 250px;
}

/* About Section */
.about {
    padding: var(--section-padding) 0;
    background: var(--deep-water);
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
    letter-spacing: 2px;
    color: var(--accent-blue);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--silver);
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image .placeholder-image {
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
}

/* About Carousel */
.about-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: var(--deep-water);
}

.carousel-image.active {
    opacity: 1;
}

.carousel-image.team-photo {
    object-position: 70% center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.carousel-dot.active {
    background: white;
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background: var(--light-foam);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--dark-blue);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.contact-info > p {
    font-size: 1.1rem;
    color: var(--metallic-silver);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item svg {
    width: 30px;
    height: 30px;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.contact-item p {
    color: var(--metallic-silver);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(26, 95, 143, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(61, 159, 224, 0.1);
}

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

.honeypot {
    position: absolute;
    left: -9999px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(61, 159, 224, 0.4);
}

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

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    display: none;
}

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

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

/* Footer */
.footer {
    background: var(--deep-water);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--silver);
    line-height: 1.8;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--silver);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--silver);
}

/* Animations */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Responsive Design */
@media (max-width: 968px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content,
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 15px 35px;
        font-size: 14px;
    }
}
