/* ISO and GHG Protocol Blog Stylesheet */
/* Version: 1.0.0 */
/* Enhanced with animations, responsive design, and modern styling */

/* ============================= */
/* BASE STYLES */
/* ============================= */

:root {
    --primary-color: #2c5e2e;
    --secondary-color: #1f75cc;
    --accent-color: #74c5b5;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #dddddd;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition-smooth: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
}

/* ============================= */
/* HEADER & NAVIGATION */
/* ============================= */

header {
    margin-bottom: 10px;
    text-align: left; /* Align logo to the left as seen in PDF */
}

/* ============================= */
/* PAGE CONTAINER & MAIN CONTENT */
/* ============================= */

.page-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2vw 3vw;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-medium);
    animation: slideInUp 0.6s ease-out;
}

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

main {
    padding: 0;
}

/* ============================= */
/* BANNER IMAGE */
/* ============================= */

.title-section {
      margin-bottom: 30px;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: var(--shadow-medium);
    height: 750px; /* Set the desired height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-section img {
     width: 100%; /* Makes the image take the full width of the container */
    max-height: 700px; /* Limit the maximum height */
    height: auto; /* Ensures the image maintains its aspect ratio */
    object-fit: contain; /* Ensures the image fits within the container without cropping */
    border-radius: 2px; /* Optional: Rounded corners for the image */
}

.main-banner-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    animation: zoomIn 0.8s ease-out;
    transition: transform 0.5s ease;
}

.main-banner-image:hover {
    transform: scale(1.02);
}

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

/* ============================= */
/* TYPOGRAPHY */
/* ============================= */

.main-title {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: var(--primary-color);
    margin: 20px 0 80px 0;
    display: flex;
    align-items: center;
    animation: fadeInDown 0.6s ease-out;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

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

.subtitle {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    animation: fadeInDown 0.7s ease-out 0.1s both;
}

section {
    margin-bottom: 35px;
    animation: fadeIn 0.8s ease-out;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-color);
    transition: var(--transition-smooth);
}

section h2:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

section h3 {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

section h3:hover {
    color: var(--primary-color);
}

/* ============================= */
/* HEADING ICONS */
/* ============================= */

.heading-icon {
    width: 28px;
    height: 28px;
    margin-right: 15px;
    vertical-align: middle;
    color: var(--primary-color);
    transition: var(--transition-smooth);
    animation: rotateIn 0.6s ease-out;
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-45deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

.heading-icon-small {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    vertical-align: middle;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

section h2:hover .heading-icon-small,
section h3:hover .heading-icon-small {
    color: var(--secondary-color);
    transform: scale(1.2);
}

/* ============================= */
/* PARAGRAPH & TEXT STYLES */
/* ============================= */

.intro-text p,
.why-sasb p,
.how-varuna-helps p,
.business-case p,
.contact-us p {
    margin-bottom: 18px;
    text-align: justify;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.intro-text p:hover,
.why-sasb p:hover {
    color: var(--primary-color);
}

strong {
    font-weight: 700;
    color: var(--primary-color);
}

em {
    font-style: italic;
    color: var(--secondary-color);
}

/* ============================= */
/* LIST STYLES */
/* ============================= */

ul.custom-list {
    list-style: none;
    padding-left: 40px;
    margin-bottom: 20px;
}

ul.custom-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.8;
    transition: var(--transition-smooth);
}

ul.custom-list li:hover {
    padding-left: 35px;
    color: var(--primary-color);
}

ul.dot-list li::before {
    content: "\2022";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 5px;
    top: 2px;
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

ol.custom-list {
    list-style: none;
    padding-left: 40px;
    counter-reset: item;
}

ol.custom-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    counter-increment: item;
    transition: var(--transition-smooth);
}

ol.custom-list li:hover {
    padding-left: 35px;
    color: var(--primary-color);
}

ol.custom-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transition: var(--transition-smooth);
}

ol.custom-list li:hover::before {
    background-color: var(--secondary-color);
    transform: scale(1.15);
}

/* ============================= */
/* TIMELINE STYLES */
/* ============================= */

.timeline-container {
    position: relative;
    padding: 20px 0;
    margin: 30px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.timeline-item {
    margin-bottom: 30px;
    padding-left: 100px;
    position: relative;
    animation: slideInLeft 0.6s ease-out;
}

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

.timeline-marker {
    position: absolute;
    left: 15px;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--bg-white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.timeline-marker i {
    color: var(--primary-color);
    font-size: 12px;
}

.timeline-item:hover .timeline-marker {
    background-color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: scale(1.3);
}

.timeline-item:hover .timeline-marker i {
    color: white;
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 18px;
}

.timeline-content p {
    margin: 8px 0 0 0;
    font-size: 15px;
    color: var(--text-light);
}

/* ============================= */
/* SERVICE CARDS GRID */
/* ============================= */

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

.service-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f5f5f5 100%);
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-light);
    animation: fadeInUp 0.6s ease-out;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f0f8f5 0%, #e8f5f0 100%);
}

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    color: var(--secondary-color);
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 12px;
    display: block;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ============================= */
/* LINKS & BUTTONS */
/* ============================= */

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.bold-text {
    font-weight: 700;
    color: var(--primary-color);
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer {
    text-align: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    color: var(--text-light);
    margin-top: 40px;
    font-size: 14px;
    border-top: 3px solid var(--primary-color);
    transition: var(--transition-smooth);
}

footer:hover {
    background: linear-gradient(135deg, #e8e8e8 0%, #f0f0f0 100%);
}

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

footer li {
    display: inline-block;
    margin: 0 10px;
    transition: var(--transition-smooth);
}

footer li:hover {
    color: var(--primary-color);
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social {
    margin-top: 15px;
}

/* .social li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    margin: 0 5px;
    transition: var(--transition-smooth);
}

.social li a:hover {
    background-color: var(--secondary-color);
    transform: scale(1.15) rotate(10deg);
} */

footer p {
    margin: 0 0 8px 0;
}

/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */

@media (max-width: 768px) {
    .page-container {
        width: 95%;
        margin: 10px auto;
        padding: 15px;
    }

    .main-title {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .subtitle {
        font-size: 18px;
    }

    section h2 {
        font-size: 20px;
    }

    section h3 {
        font-size: 16px;
    }

    .intro-text p,
    .why-sasb p,
    .how-varuna-helps p,
    .business-case p,
    .contact-us p {
        font-size: 15px;
        text-align: left;
    }

    ul.custom-list li,
    ol.custom-list li {
        font-size: 15px;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 80px;
    }

    .timeline-marker {
        left: 7px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        font-size: 40px;
    }

    footer li {
        display: block;
        margin: 5px 0;
    }

    .heading-icon,
    .heading-icon-small {
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 10px;
    }

    .main-title {
        font-size: 20px;
    }

    .subtitle {
        font-size: 16px;
    }

    section h2 {
        font-size: 18px;
    }

    section h3 {
        font-size: 15px;
    }

    .intro-text p,
    .why-sasb p {
        font-size: 14px;
    }

    ul.custom-list,
    ol.custom-list {
        padding-left: 25px;
    }

    ul.custom-list li,
    ol.custom-list li {
        padding-left: 20px;
        font-size: 14px;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .service-icon {
        font-size: 36px;
    }

    footer {
        padding: 15px 10px;
        font-size: 12px;
    }
}

/* ============================= */
/* UTILITY CLASSES */
/* ============================= */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.highlight {
    background-color: #fffacd;
    padding: 2px 6px;
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.highlight:hover {
    background-color: #ffeb3b;
}

/* ============================= */
/* PRINT STYLES */
/* ============================= */

@media print {
    header,
    footer {
        display: none;
    }

    .page-container {
        box-shadow: none;
        max-width: 100%;
    }

    section {
        page-break-inside: avoid;
    }

    a {
        color: var(--primary-color);
    }
}

