@charset "utf-8";

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

body {
    font-family: "Gayathri", sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-image: linear-gradient(180deg, #009efd 0%, #2af598 100%);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.5rem;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Logo Section */
.logo-container {
    width: 100%;
    height: auto;
    background-image: linear-gradient(to top, #94b9ff 0%, white 100%);
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.kenburns-top img {
    max-width: 100%;
    height: auto;
    animation: zoomIn 1.2s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Sections */
section {
    padding: 6rem 2rem;
}

/* Two Column Section */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.column-text h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.column-text p {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.column-text a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.column-text a:hover {
    text-decoration: underline;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.column-image img:hover {
    transform: scale(1.05);
}

.column-image iframe {
    border-radius: 15px;
    width: 100%;
    min-height: 300px;
}

/* Home Section */
#home {
    background-image: linear-gradient(to top, white 0%, #dfe9f3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.home-content {
    text-align: center;
    animation: bounceIn 1s ease-out;
    max-width: 1200px;
    padding: 0 1rem;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.8); }
    50% { transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.home-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.home-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.divider-container {
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #667eea 20%, 
        #667eea 80%, 
        transparent 100%);
    top: 50%;
    left: 0;
}

.heart {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    animation: heartbeat 1.5s ease-in-out infinite;
    z-index: 1;
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 80px;
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    border-radius: 50px 50px 0 0;
    top: 0;
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.5);
}

.heart::before {
    left: 25px;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.heart::after {
    right: 25px;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

@keyframes heartbeat {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    25% {
        transform: translate(-50%, -50%) scale(1.15);
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Services Section */
#services {
    background-image: linear-gradient(180deg, #94b9ff 0%, #cdffd8 100%);
}

#services h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.service-card h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.service-card p {
    text-align: center;
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.service-icon {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Button */
.btn-grad {
    background-image: linear-gradient(to right, #009efd 0%, #2af598 51%, #009efd 100%);
    margin: 0 auto;
    padding: 15px 45px;
    text-align: center;
    text-decoration: none;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    width: fit-content;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.btn-grad:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #142B59;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

footer p {
    margin: 5px 0;
    color: white;
}

footer a {
    margin: 5px 0;
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: #cdffd8;
    text-decoration: underline;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        top: 0;
        left: 0;
        justify-content: flex-start;
        padding-top: 80px;
    }

    nav.active {
        transform: translateX(0);
    }

    nav a {
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 1.2rem;
    }

    nav a::after {
        display: none;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .column-text h2 {
        font-size: 2rem;
    }

    .column-text p {
        font-size: 1rem;
    }

    .logo-container {
        margin-top: 60px;
        padding: 1rem 0;
    }

    section {
        padding: 3rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .heart {
        width: 40px;
        height: 40px;
    }

    .heart::before,
    .heart::after {
        width: 40px;
        height: 64px;
    }

    .heart::before {
        left: 20px;
    }

    .heart::after {
        right: 20px;
    }

    .btn-grad {
        padding: 12px 30px;
        width: 90%;
        max-width: 300px;
    }

    .column-image iframe {
        height: 300px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .home-content h1 {
        font-size: 1.8rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    nav {
        width: 80%;
    }
}