@font-face {
    font-family: 'NordiquePro-Bold';
    src: url('/public/fonts/fontspring-demo-nordiquepro-semibold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'NordiquePro-Regular';
    src: url('/public/fonts/fontspring-demo-nordiquepro-semibold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'NordiquePro-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f9fafb;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2%;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: white;
    color: #1e293b;
    padding: 5rem 0;
    padding-top: 9rem; /* pt-36 equivalent */
}

/* Logo positioning */
.logo-container {
    position: absolute;
    top: 1.5rem; /* top-6 */
    left: 1.5rem; /* left-6 */
    z-index: 20;
}

.logo-link {
    display: block;
}

.logo-image {
    width: 90px;
    height: auto;
}

/* Hero content layout */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hero image */
.hero-image-container {
    width: 100%;
    max-width: 48rem; /* max-w-3xl */
    margin-bottom: 2rem; /* mb-8 */
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Hero description */
.hero-description {
    font-size: 1.25rem; /* text-lg */
    color: #161617; /* text-gray-600 */
    max-width: 56rem; /* max-w-4xl */
    margin: 0 auto 2.5rem auto; /* mx-auto */
}

/* Button container */
.hero-buttons {
    margin-top: 2.5rem; /* mt-10 */
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* space-y-5 */
    align-items: center;
}

/* Primary button (I need service) */
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:#FDCC38;
    color: black;
    font-family: 'NordiquePro-Bold';
    font-weight: bold;
    padding: 1rem 3rem; /* py-4 px-12 */
    border-radius: 9999px; /* rounded-full */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-size: 1.125rem; /* text-lg */
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #ffda7c;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* Secondary button (I provide service) */
.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: black;
    font-weight: bold;
    padding: 1rem 2rem; /* py-4 px-8 */
    border-radius: 0.5rem; /* rounded-lg */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.125rem; /* text-lg */
    text-decoration: underline;
}

.btn-secondary:hover {
    transform: scale(1.05);
}

/* Disabled state */
.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading spinner */
.loading-spinner {
    width: 1.25rem; /* h-5 w-5 */
    height: 1.25rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.75rem;
}


/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: white;
}

.features-header {
    text-align: center;
    margin-bottom: 3rem; /* mb-12 lg:mb-16 */
}

.features-title {
    font-size: 2.25rem; /* text-4xl */
    font-family: 'NordiquePro-Bold';
    font-weight: bold;
    color: #1e293b; /* text-slate-800 */
    margin-bottom: 1.5rem;
 
}

.features-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.feature-card {
   background-color: #FFDB71; /* bg-yellow-200 */
    padding: 1.5rem;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.3s ease;
}
.feature-card:hover {
    background-color: #ffda7c;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.feature-illustration {
    width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-family: 'NordiquePro-Bold';
    
}

.feature-description {
    font-size: 1.1rem;
    color: #1e293b;
}

/* Make sure features stack on smaller screens */
@media (max-width: 992px) {
    .features-grid {
        flex-wrap: wrap;
    }
    
    .feature-card {
        min-width: 100%;
        margin-bottom: 2rem;
    }
}

/* Why Choose SRV Section */
.why-choose-section {
    position: relative;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 0;
}

/* Background geometric elements - Desktop positioning */
.bg-shape-arrow-left {
    position: absolute;
    top: 10%;
    left: 2%;
    width: 120px;
    height: auto;
    z-index: 5;
    transform: none;
}

.bg-shape-triangle-top {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 150px;
    height: auto;
    z-index: 1;
    transform: none;
}

/* Tablet view positioning - move to top corners */
@media (max-width: 1200px) {
    .bg-shape-arrow-left {
        width: 90px;
        top: 5%;
        left: 3%;
    }
    
    .bg-shape-triangle-top {
        width: 110px;
        top: 5%;
        right: 3%;
    }
}

/* Mobile view positioning - keep in top corners but resize */
@media (max-width: 767px) {
    .bg-shape-arrow-left {
        width: 70px;
        top: 3%;
        left: 2%;
    }
    
    .bg-shape-triangle-top {
        width: 70px;
        top: 3%;
        right: 2%;
    }
}

.why-choose-header {
    position: relative;
    z-index: 30; /* Increased z-index to appear above content card */
    display: flex;
    justify-content: center;
    margin-bottom: -5rem; 
}


.why-choose-title-container {
    display: inline-block;
    background-color: #fcd34d;
    padding: 1rem 3rem;
    border-radius: 9999px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.why-choose-title-container:hover {
    transform: translateY(-2px);
}

.why-choose-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1e293b;
    white-space: nowrap;
    margin: 0;
    font-family: 'NordiquePro-Bold';
}

.why-choose-content {
    /* position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 0; */

    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    
}

.phone-container {
    /* position: relative;
    flex-shrink: 0;
    width: 280px;
    z-index: 15; */
    position: relative;
    /* This makes the phone appear on top of the card */
    z-index: 20;
    flex-shrink: 0; /* Prevents the container from shrinking */
    width: 320px;
    /* This negative margin pulls the content card to the left, creating the overlap */
    margin-right: -10px;
}

.phone-image {
    width: 100%;
    height: auto;

}

.content-card {
    position: relative;
    flex: 1;
    max-width: 200rem;
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
     padding: 4rem 4rem 4rem 140px;


}
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
}

.reason-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-3px);
}

.reason-icon {
    color: #2563eb;
    margin-bottom: 2rem;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #eff6ff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.reason-item:hover .reason-icon {
    background-color: #2563eb;
    color: white;
    transform: scale(1.1);
}

.icon-svg {
    height: 4rem;
    width: 4rem;
}

.reason-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
    white-space: nowrap;
    font-family: 'NordiquePro-Bold';
}

.reason-description {
    font-size: 1.2rem;
    color: #4b5563;
    line-height: 1.6;
    text-align: center;
}

.trending-arrow {
    position: absolute; /* Allows precise positioning and overlapping */
    left: 0;
    right: 0; /* Stretches from left to right */
    top: 50%; /* Centers vertically in the section - adjust as needed */
    transform: translateY(-50%); /* Centers the arrow on its position */
    width: 100%; /* Takes full width of container */
    height: 120px; /* Increase this value to make the arrow bigger */
    z-index: 20; /* Below content card (z-index 10) but above background elements */
    pointer-events: none; /* Prevents the arrow from intercepting mouse events */
    height: 1000px; /* Increase for larger arrow */
    width: 120%;
    object-fit: contain;

}

/* SDG Section */
.sdg-section {
    padding: 4rem 0 6rem 0;
    background-color: #f9fafb; /* bg-gray-50 */
}

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

.sdg-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: 'NordiquePro-Bold';
}

.sdg-description {
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto 3rem auto;
    font-size: 1.125rem;
}

.sdg-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.sdg-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}

.sdg-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.sdg-card-primary {
    background-color: #fef3c7; /* bg-yellow-100 */
    border: 2px solid #fcd34d; /* border-yellow-300 */
}

.sdg-card-primary:hover {
    box-shadow: 0 10px 25px rgba(252, 211, 77, 0.4);
}

.sdg-icon {
    margin: 10 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    padding-top: 10px;
}

.sdg-icon-svg {
    height: 2.5rem;
    width: 2.5rem;
}

.sdg-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #374151;
    font-family: 'NordiquePro-Bold';
}

.sdg-primary-title {
    color: #b45309; /* text-yellow-700 */
}

.sdg-card-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4b5563;
    margin-top: 2rem;
}

.sdg-primary-description {
    color: #374151;
}

.sdg-primary-badge {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer */
.footer {
    background-color: #1e293b; /* bg-slate-800 */
    color: #d1d5db; /* text-gray-300 */
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2.5rem 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-logo {
    width: 100px;
    height: 50px;
}

.footer-brand-description {
    font-size: 0.875rem;
    color: #9ca3af; /* text-gray-400 */
}

.footer-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    font-family: 'NordiquePro-Bold';
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fcd34d; /* hover:text-yellow-300 */
}

.footer-contact {
    font-size: 0.875rem;
    color: #9ca3af;
    font-family: sans-serif;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #475569; /* border-slate-700 */
    text-align: center;
}

.footer-copyright {
    color: #6b7280; /* text-gray-500 */
    font-size: 0.75rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-title {
        font-size: 5rem;
    }
    
    .why-choose-title {
        font-size: 2.5rem;
    }
    
    .phone-container {
        width: 320px;
        margin-top: 2rem; /* Move phone down slightly */
    }
    
    .content-card {
        padding: 3rem 2.5rem 3rem 3rem; /* More balanced padding */
        margin-left: -3rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr; /* Single column on tablets */
        gap: 2.5rem;
    }
    
    .reason-title {
        font-size: 1.3rem;
        min-height: auto; /* Let titles take natural height */
    }
    
    .reason-description {
        font-size: 0.95rem;
        max-width: 100%; /* Use full width */
    }
    .sdg-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sdg-title {
        font-size: 3.75rem; /* lg:text-6xl */
    }
}

@media (min-width: 992px) {
    .reasons-grid {
        grid-template-columns: repeat(3, 1fr); /* Three columns on larger screens */
        gap: 2rem;
    }
    
    .content-card {
        padding: 3.5rem 3rem 3.5rem 3.5rem;
    }
    
    .phone-container {
        margin-top: 0; /* Reset */
        width: 350px;
    }
}

@media (min-width: 1200px) {
    .content-card {
        padding: 4rem;
    }
    
    .phone-container {
        width: 380px;
    }
      .bg-shape-arrow-left {
        width: 100px;
        top: 5%;
    }
    
    .bg-shape-triangle-top {
        width: 120px;
        top: 5%;
    }
}

@media (min-width: 1400px) {
    .content-card {
        padding: 4rem 4rem 4rem 140px; /* Return to original padding at large screens */
    }
}

/* Mobile Responsive - Stack vertically on small screens */
@media (max-width: 767px) {
    .why-choose-content {
        flex-direction: column;
        gap: 0; /* Remove gap to allow more overlap */
    }
    
    .phone-container {
        width: 260px;
        margin-right: 0;
        margin-bottom: -160px; /* Increase negative margin for more overlap */
        margin-top: 20px; /* Add some space from the title */
        z-index: 30; /* Ensure phone stays on top */
        position: relative;
    }
    
    .content-card {
        padding: 2rem 1.5rem;
        padding-top: 100px; /* Add top padding to accommodate phone overlap */
        width: 90%;
        margin-left: 0;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive design */
@media (min-width: 768px) {
    .hero-image-container {
        max-width: 64rem; /* lg:max-w-4xl */
    }
}

@media (min-width: 1024px) {
    .hero-image-container {
        max-width: 80rem; /* xl:max-w-5xl */
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Additional responsive fixes for why-choose-section */
@media (max-width: 1600px) {
    .content-card {
        padding: 4rem 3rem 4rem 120px;
        max-width: 90%;
    }
    
    .reasons-grid {
        gap: 2rem;
    }
    
    .reason-title {
        font-size: 1.3rem;
    }
    
    .reason-description {
        font-size: 1rem;
    }
      .phone-container {
        width: 300px;
        margin-right: -15px;
    }
}
@media (max-width: 1400px) {
    .content-card {
        padding: 3.5rem 2.5rem 3.5rem 110px;
        max-width: 85%;
    }
    
    .reasons-grid {
        gap: 1.8rem;
    }
    
    .phone-container {
        width: 280px;
        margin-right: -10px;
        z-index: 25; 
    }
    
    .reason-title {
        font-size: 1.25rem;
        white-space: normal; 
        min-height: 2.8rem; 
    }
    
    .reason-description {
        font-size: 0.95rem;
        max-width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 1200px) {
    .content-card {
        padding: 3rem 2rem 3rem 110px;
    }
    
    .reasons-grid {
        gap: 1.5rem;
    }
       
    .phone-container {
        width: 260px;
        margin-right: -5px;
    }
}

@media (max-width: 992px) {
     .content-card {
        padding: 3rem 2rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr; /* Changed to 1 column (3 rows) */
        gap: 2.5rem;
    }
    
    .phone-container {
        margin-right: 0;
        margin-bottom: -60px;
    }
    
    .why-choose-content {
        flex-direction: column;
    }
    
    .reason-title {
        font-size: 1.4rem;
        white-space: normal;
    }
    
    .reason-description {
        font-size: 1.1rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .reason-icon {
        margin-bottom: 1.5rem;
    }
}



@media (max-width: 780px) {
    .why-choose-title {
        font-size: 1.5rem;
    }
    
    .why-choose-title-container {
        padding: 0.75rem 2rem;
    }
    
    .content-card {
        padding: 2.5rem 1.5rem;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-family: 'NordiquePro-Bold';
}

.modal-content input[type="email"] {
    width: 100%;
    padding: 1rem;
    margin: 1rem 0;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.modal-content input[type="email"]:focus {
    outline: none;
    border-color: #FDCC38;
}

.modal-content .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

#message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
}

.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}