/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for sticky header */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Headings use Kannada-MN */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Kannada MN', 'Kannada-MN', Georgia, serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #f0f0f0;
    color: #000;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    flex: 0 0 auto;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-spacer {
    flex: 0 0 auto;
    width: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
    font-family: 'Kannada MN', 'Kannada-MN', Georgia, serif;
    font-size: 16px;
}

.nav a:hover {
    color: #ee942a;
}

.nav-right {
    justify-content: flex-end;
}

.portal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #ee942a;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(238, 148, 42, 0.2);
}

.portal-link:hover {
    background: #d67d1e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(238, 148, 42, 0.3);
    color: #fff !important;
}

.portal-link svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    background: #f0f0f0;
    color: #000;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-image: url('/images/hero/hero-2.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-profile-image {
    width: 260px;
    height: 320px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: #000;
}

.hero-company {
    font-size: 4.5rem;
    font-weight: 900;
    font-family: 'Playfair Display', 'Georgia', 'Kannada MN', serif;
    position: absolute;
    bottom: 3%;
    left: 52%;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 4px 4px 12px rgba(0,0,0,0.5);
    z-index: 2;
    white-space: nowrap;
}

.pte-white {
    color: white;
}

.pte-orange {
    color: #ee942a;
}

.hero-images-mobile {
    display: block;
    margin: 2rem 0;
}

.hero-profile-image {
    width: 280px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ee942a;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.cta-button:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.cta-button.secondary {
    background: #7cb342;
}

.cta-button.secondary:hover {
    background: #689f38;
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #2b2b2b;
}

.section-tagline {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.contact-tagline {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-top: 1rem;
    margin-bottom: 3rem;
    font-family: 'Kannada MN', 'Kannada-MN', Georgia, serif;
}

/* About Section */
.about-section {
    background: #2b2b2b;
    color: white;
    padding-top: 8rem;
}

.about-section h2,
.about-section h3 {
    color: white;
}

.about-section p {
    color: #ccc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-highlight {
    background: #ee942a;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Certifications Section */
.certifications-section {
    background: white;
}

.certifications-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.certifications-timeline::before {
    content: '';
    position: absolute;
    left: 140px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ee942a, #357abd);
}

.cert-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.cert-item::before {
    content: '';
    position: absolute;
    left: 132px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: white;
    border: 3px solid #ee942a;
    border-radius: 50%;
    z-index: 1;
}

.cert-year-badge {
    flex-shrink: 0;
    width: 110px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2b2b2b;
    text-align: right;
    padding-top: 0.25rem;
}

.cert-content {
    flex: 1;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-left: 4px solid #ee942a;
    transition: all 0.3s ease;
}

.cert-content:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateX(8px);
}

.cert-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2b2b2b;
    font-weight: 600;
}

.cert-institution {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

@media screen and (max-width: 768px) {
    .certifications-timeline::before {
        left: 60px;
    }

    .cert-item::before {
        left: 52px;
    }

    .cert-year-badge {
        width: 80px;
        font-size: 0.95rem;
    }

    .cert-content {
        padding: 1.25rem 1.5rem;
    }

    .cert-content h3 {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .certifications-timeline::before {
        left: 0;
    }

    .cert-item {
        flex-direction: column;
        gap: 0.5rem;
        padding-left: 2rem;
    }

    .cert-item::before {
        left: -8px;
        top: 50px;
    }

    .cert-year-badge {
        width: 100%;
        text-align: left;
        font-size: 1rem;
    }

    .cert-content:hover {
        transform: translateX(0);
    }
}

/* Services Section */
.services-section {
    background: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2b2b2b;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* Services / Pricing Section */
.services-section {
    background: #f9f9f9;
}

.service-pricing {
    margin-bottom: 4rem;
}

.service-pricing h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #2b2b2b;
}

.pricing-section {
    background: white;
}

.pricing-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
    border-radius: 10px;
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-image.active {
    opacity: 1;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.pricing-card.featured {
    border: 3px solid #ee942a;
    box-shadow: 0 8px 30px rgba(238, 148, 42, 0.3);
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 40px rgba(238, 148, 42, 0.4);
}

.pricing-header {
    background: linear-gradient(135deg, #ee942a 0%, #f4a54e 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    font-family: 'Kannada MN', 'Kannada-MN', Georgia, serif;
}

.pricing-header h4 {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: 'Kannada MN', 'Kannada-MN', Georgia, serif;
}

.pricing-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.pricing-body {
    padding: 2.5rem 2rem;
}

.price-option {
    text-align: center;
    margin: 1.5rem 0;
}

.price {
    font-size: 2.75rem;
    font-weight: 700;
    color: #ee942a;
    letter-spacing: -0.02em;
}

.price-details {
    font-size: 0.95rem;
    color: #6C7A89;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.price-divider {
    text-align: center;
    color: #999;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.save-badge {
    display: inline-block;
    background: #7cb342;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-top: 1.5rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:before {
    content: "✓ ";
    color: #7cb342;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Individual Pricing Table */
.individual-pricing {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.individual-pricing h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.pricing-table {
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid #F0F0F0;
    transition: background 0.2s ease;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row:hover {
    background: #F7F9FC;
}

.service-name {
    font-weight: 500;
    color: #2A2A2A;
    font-size: 1.05rem;
}

.service-price {
    font-weight: 700;
    color: #ee942a;
    font-size: 1.25rem;
}

/* Testimonials Section */
.testimonials-section {
    background: #f9f9f9;
}

.testimonials-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-image {
    text-align: center;
    margin-bottom: 1.5rem;
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #ee942a;
    flex-shrink: 0;
}

.testimonial-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Specific crop for testimonial-2 and testimonial-3 - crop from top */
.swiper-slide:nth-child(2) .testimonial-image img,
.swiper-slide:nth-child(3) .testimonial-image img {
    object-position: center top;
}

.stars {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
    color: #2b2b2b;
    text-align: right;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2b2b2b 0%, #4a4a4a 100%);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Contact Section */
.contact-section {
    background: #f0f0f0;
    color: #000;
}

.contact-section h2 {
    color: #2b2b2b;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
    position: relative;
}

.contact-image-left {
    justify-self: end;
}

.contact-image-center {
    position: relative;
    z-index: 1;
}

.contact-image-left img {
    width: 260px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-image-center img {
    width: 100%;
    max-width: 400px;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 0 auto;
    display: block;
}

.contact-branding {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    font-weight: bold;
    font-family: 'Kannada MN', 'Kannada-MN', Georgia, serif;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    white-space: nowrap;
    z-index: 2;
    color: #ee942a;
}

.contact-info {
    text-align: left;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2b2b2b;
    margin-top: 1.5rem;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p,
.contact-info a {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-info a {
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    color: #ee942a;
    text-decoration: underline;
}

.small-text {
    font-size: 0.9rem;
    color: #999;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ee942a;
    font-size: 1.25rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-style: italic;
    color: #999;
    font-size: 0.9rem;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ee942a;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s;
}

.social-icon:hover img {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: #ee942a;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .about-image img {
        border-radius: 8px;
    }

    .about-text h2 {
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Adjust scroll offset for mobile header */
    html {
        scroll-padding-top: 150px; /* Taller mobile header */
    }

    /* Mobile Header - Stack vertically */
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem 20px;
    }

    /* Reset logo positioning for mobile */
    .logo {
        position: static;
        transform: none;
        order: -1;
        margin-bottom: 0.5rem;
    }

    .logo img {
        height: 40px;
    }

    /* Stack navigation items */
    .nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .nav-left,
    .nav-right {
        width: 100%;
        justify-content: center;
    }

    .nav a {
        font-size: 14px;
    }

    .portal-link {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }

    .portal-link svg {
        width: 16px;
        height: 16px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-row {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        display: block;
        margin-right: 0;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    section {
        padding: 3rem 0;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    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);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered delays for cards */
.cert-card:nth-child(1) { animation-delay: 0.1s; }
.cert-card:nth-child(2) { animation-delay: 0.2s; }
.cert-card:nth-child(3) { animation-delay: 0.3s; }
.cert-card:nth-child(4) { animation-delay: 0.4s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced emphasis styling */
em {
    font-style: italic;
    color: #ee942a;
    font-weight: 500;
}

/* Remove constant pulse - only animate on hover */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Ripple effect */
.cta-button .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in-up,
    .fade-in-left,
    .fade-in-right {
        opacity: 1;
        transform: none;
    }
}

/* ===================================
   SWIPER CAROUSEL STYLES
   =================================== */

.testimonial-carousel-wrapper {
    padding: 60px 0;
    position: relative;
}

.testimonial-swiper {
    padding: 20px 60px;
    overflow: visible;
}

.swiper-slide {
    transform: scale(0.9);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    z-index: 2;
}

/* Swiper Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
    color: #ee942a;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #ee942a;
    color: white;
    transform: scale(1.1);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: #ee942a;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* Testimonial Card in Carousel */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(238, 148, 42, 0.2);
}

.testimonial-text {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===================================
   MODAL STYLES
   =================================== */

.testimonial-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.testimonial-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1001;
}

.testimonial-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #666;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #ee942a;
    transform: rotate(90deg);
}

.modal-body .testimonial-text {
    -webkit-line-clamp: unset;
    overflow: visible;
    display: block;
}

/* Service Modal Styles */
.service-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
}

.service-modal .modal-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-modal .modal-header {
    background: linear-gradient(135deg, #ee942a 0%, #f4a54e 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 16px 16px 0 0;
}

.service-modal .modal-header h2 {
    margin: 0;
    font-size: 2rem;
}

.service-modal .modal-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.95;
    font-size: 1.1rem;
}

.service-modal .modal-body-content {
    padding: 2.5rem;
}

.service-details-btn {
    display: inline-block;
    background: #ee942a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.service-details-btn:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 122, 189, 0.3);
}

/* Accordion Styles */
.accordion {
    margin: 2rem 0;
}

.accordion-item {
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.accordion-header:hover {
    background: #f5f5f5;
    border-left-color: #ee942a;
}

.accordion-header.active {
    background: #fff8f0;
    border-left-color: #ee942a;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #2b2b2b;
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.5rem;
    color: #ee942a;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-body {
    padding: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.program-list {
    list-style: none;
    padding: 0;
}

.program-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.program-list li:last-child {
    border-bottom: none;
}

.program-list li::before {
    content: '✓';
    color: #ee942a;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.program-list li strong {
    color: #2b2b2b;
}

/* Custom cursor removed - using default browser cursor */

/* ===================================
   MORPHING BLOB BACKGROUNDS
   =================================== */

/* Blobs removed from hero section to use background image instead */

@keyframes morph {
    0%, 100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 70% 30% 40% 60% / 40% 70% 50% 30%;
        transform: rotate(270deg) scale(1.05);
    }
}

/* Add blob to about section too */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ee942a 0%, transparent 70%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(80px);
    opacity: 0.1;
    top: 50%;
    right: -150px;
    animation: morph 25s ease-in-out infinite reverse;
}

/* ===================================
   3D CARD TILT EFFECTS (Desktop Only)
   =================================== */

@media (hover: hover) and (pointer: fine) {
    .cert-card,
    .service-card,
    .pricing-card {
        transform-style: preserve-3d;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cert-card:hover,
    .service-card:hover,
    .pricing-card:hover {
        transform: perspective(1000px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg)) scale3d(1.02, 1.02, 1.02);
    }
}

/* ===================================
   MOBILE RESPONSIVENESS
   =================================== */

/* Tablet breakpoint */
@media (max-width: 992px) {
    .testimonial-swiper {
        padding: 20px 40px;
    }

    .testimonial-card {
        height: 450px;
    }

    .modal-content {
        padding: 2rem;
    }

    /* Simplify blobs on tablet */
    .hero::before,
    .hero::after {
        filter: blur(40px);
        opacity: 0.1;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    /* Mobile hero layout redesign */
    .hero {
        padding: 2rem 0 0 0;
    }

    .hero::before {
        width: 100%;
        height: 300px;
        top: 100px; /* Closer to title */
        bottom: auto;
        opacity: 1;
        filter: none;
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero-text {
        max-width: 100%;
        position: relative;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 0.25rem;
        position: relative;
        z-index: 3;
        background: transparent; /* Remove background */
        padding: 0.5rem 0 0.25rem 0; /* Shift up */
        font-family: 'Playfair Display', 'Georgia', 'Kannada MN', serif; /* Nicer font */
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .hero-images-mobile {
        display: block;
        position: relative;
        z-index: 2;
        height: 0; /* Collapse height to not affect flow */
        margin-top: 240px; /* Position further down for 25% overlap */
        margin-bottom: 0;
    }

    .hero-profile-image {
        position: absolute;
        left: 10px; /* Shifted further left */
        top: 0;
        width: 120px; /* Smaller size */
        height: auto; /* Maintain original aspect ratio */
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .hero-profile-image img {
        width: 100%;
        height: auto; /* Maintain proportions */
        display: block;
    }

    .hero-company {
        font-size: 2rem;
        position: absolute;
        top: 320px; /* Higher - overlaps bottom of hero-2 */
        right: 10%;
        z-index: 3;
        margin: 0;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .hero-tagline {
        font-size: 0.95rem;
        position: relative;
        margin-top: 0;
        margin-left: 140px; /* Position to the right of about-2 image */
        margin-right: 10px;
        padding-top: 80px; /* Spacing above quote */
        text-align: left;
        color: #000;
        line-height: 1.4;
    }

    .hero-buttons {
        text-align: center;
        margin-top: 2rem; /* Reduced space below quote */
        margin-left: 0; /* Reset any inherited margin */
        margin-right: 0;
        padding-bottom: 2rem;
        clear: both;
        width: 100%; /* Ensure full width for centering */
    }

    .hero-buttons .cta-button {
        margin-left: auto;
        margin-right: auto;
    }

    .services-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-image-container {
        height: 300px; /* Reduced from 400px */
        order: -1;
    }

    .service-card {
        padding: 1.25rem; /* Reduced from 2rem */
    }

    .service-card h3 {
        font-size: 1.25rem; /* Reduced from 1.5rem */
        margin-bottom: 0.75rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .service-card img {
        margin-bottom: 1rem; /* Reduced from 1.5rem */
    }

    /* Service modal mobile styles */
    .service-modal .modal-header {
        padding: 1.5rem; /* Reduced from 2.5rem */
    }

    .service-modal .modal-header h2 {
        font-size: 1.5rem; /* Reduced from 2rem */
    }

    .service-modal .modal-header p {
        font-size: 0.95rem; /* Reduced from 1.1rem */
    }

    .service-modal .modal-body-content {
        padding: 1.5rem; /* Reduced from 2.5rem */
        font-size: 0.9rem;
    }

    .service-modal .modal-body-content h3 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .service-modal .modal-body-content p {
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .service-modal .modal-body-content ul {
        margin-bottom: 1rem;
    }

    .service-modal .modal-body-content li {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    /* Pricing cards mobile optimization */
    .pricing-card {
        margin-bottom: 1rem;
    }

    .pricing-header {
        padding: 1.25rem;
    }

    .pricing-header h3 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }

    .pricing-header h4 {
        font-size: 1.1rem;
    }

    .pricing-subtitle {
        font-size: 0.85rem;
    }

    .pricing-body {
        padding: 1.25rem 1rem;
    }

    .price-option {
        margin: 1rem 0;
    }

    .price {
        font-size: 2rem;
    }

    .price-label {
        font-size: 0.85rem;
    }

    .features-list {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .pricing-grid {
        gap: 1rem;
    }

    /* Remove modal margins on mobile */
    .service-modal .modal-header {
        margin: 0;
        padding: 1.5rem;
    }

    .service-modal .modal-body-content {
        margin: 0;
        padding: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-image-left {
        justify-self: center;
    }

    .contact-image-left img {
        width: 100%;
        max-width: 300px;
        height: 350px;
    }

    .contact-image-center img {
        max-width: 100%;
        height: 400px;
    }

    .contact-branding {
        font-size: 3rem;
    }

    .brand-el {
        margin-right: -0.75rem;
    }

    .brand-fit {
        margin-left: -0.75rem;
    }

    .testimonial-carousel-wrapper {
        padding: 40px 0;
    }

    .testimonial-swiper {
        padding: 20px 50px;
    }

    .swiper-slide {
        transform: scale(1);
        opacity: 1;
    }

    .testimonial-card {
        height: auto;
        min-height: 350px;
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        padding: 0 0.5rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 16px;
    }

    .modal-content {
        padding: 0;
        border-radius: 15px;
        margin: 0;
    }

    .modal-close {
        font-size: 2rem;
        width: 36px;
        height: 36px;
    }

    /* Remove decorative blobs on mobile for performance */
    .hero::after,
    .about-section::before {
        display: none;
    }

    /* Ensure buttons are touch-friendly */
    .cta-button {
        min-height: 44px;
        padding: 1rem 2.5rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.5rem;
        min-height: 300px;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .swiper-pagination-bullet-active {
        width: 20px;
    }
}

/* ===================================
   TERMS & CONDITIONS PAGE
   =================================== */

.terms-section {
    background: #f9f9f9;
    padding: 6rem 0;
    min-height: calc(100vh - 200px);
}

.terms-section h1 {
    font-size: 3rem;
    text-align: center;
    color: #2b2b2b;
    margin-bottom: 3rem;
    font-family: 'Kannada MN', 'Kannada-MN', Georgia, serif;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    gap: 2rem;
    align-items: start;
    transition: transform 0.3s, box-shadow 0.3s;
}

.terms-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(238, 148, 42, 0.15);
}

.terms-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ee942a 0%, #f4a54e 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Kannada MN', 'Kannada-MN', Georgia, serif;
}

.terms-text {
    flex: 1;
}

.terms-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.terms-text strong {
    color: #ee942a;
    font-weight: 600;
}

.terms-example {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    background: #fff8f0;
    border-left: 4px solid #ee942a;
    border-radius: 8px;
    font-family: 'Inter', monospace;
}

.terms-example strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2b2b2b;
}

.terms-footer {
    max-width: 900px;
    margin: 4rem auto 0;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.terms-footer p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .terms-section h1 {
        font-size: 2rem;
    }

    .terms-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .terms-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .terms-text p {
        font-size: 1rem;
    }
}
