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

:root {
    --primary-color: #8B1538;
    --secondary-color: #F4A300;
    --dark-text: #2D3748;
    --light-text: #6B7280;
    --card-bg: #F9FAFB;
    --white: #FFFFFF;
    --hero-bg: #F3F4F6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-nav-cta {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.25);
}

.btn-nav-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--dark-text);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section (EXACT MATCH TO SCREENSHOT) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--hero-bg);
    padding-top: 80px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.power-text {
    color: var(--primary-color);
}

.in-text {
    color: var(--dark-text);
}

.connecting-text {
    color: var(--dark-text);
}

.unity-text {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(139, 21, 56, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 16px 35px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Hero Floating Cards */
.hero-cards {
    position: relative;
    height: 500px;
}

.floating-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
    text-align: center;
    transition: all 0.3s ease;
    animation: floatAnimation 3s ease-in-out infinite;
}

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

.card-1 {
    top: 80px;
    left: 100px;
    animation-delay: 0s;
}

.card-2 {
    top: 200px;
    right: 80px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 80px;
    left: 50px;
    animation-delay: 2s;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.floating-card h4 {
    font-size: 1.2rem;
    color: var(--dark-text);
    font-weight: 700;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.section-header h2 {
    font-size: 2.8rem;
    color: var(--dark-text);
    margin-bottom: 12px;
    font-weight: 900;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    font-weight: 400;
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-box {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.1), rgba(244, 163, 0, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-color);
}

.service-box h3 {
    font-size: 1.35rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-box p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-btn:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--card-bg);
}

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

.portfolio-box {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.portfolio-image-wrapper {
    height: 250px;
    width: 100%;
}

.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-bg-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.portfolio-info {
    padding: 30px;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 8px;
    font-weight: 700;
}

.portfolio-info p {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.view-btn:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* Clients Section */
.clients {
    padding: 100px 0;
    background: var(--white);
}

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

.client-box {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.client-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.client-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.1), rgba(244, 163, 0, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.client-box h4 {
    font-size: 1.2rem;
    color: var(--dark-text);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--card-bg);
}

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

.contact-form {
    background: var(--white);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    background: var(--white);
    color: var(--dark-text);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group select option {
    background: var(--white);
    color: var(--dark-text);
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(139, 21, 56, 0.3);
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-box {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.1), rgba(244, 163, 0, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-box h4 {
    color: var(--dark-text);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-box p {
    color: var(--light-text);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

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

.footer-logo {
    height: 80px;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-cards {
        display: none;
    }
}

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

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

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

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

    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .services-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 30px;
    }
}

/* Success/Error Message Styles */
#form-messages {
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: slideDown 0.4s ease;
}

#form-messages.success {
    background: #D1FAE5;
    color: #065F46;
    border: 2px solid #10B981;
    display: block;
}

#form-messages.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 2px solid #EF4444;
    display: block;
}

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

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    color: #ffffff;
    font-size: 1em;
    user-select: none;
    pointer-events: none;

    /* 🔥 visibility fix */
    text-shadow:
        0 0 4px rgba(0,0,0,0.6),
        0 0 8px rgba(0,0,0,0.4);

    animation-name: fall;
    animation-timing-function: linear;
}

@keyframes fall {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0.4;
    }
}

