/* 
    Gram International Consultancy - Custom Styles
    Base Design System
*/

:root {
    --primary-color: #0A3622; /* Forest Green */
    --primary-dark: #051A10;
    --secondary-color: #D4AF37; /* Gold */
    --secondary-dark: #B5952F;
    --text-color: #4B5563;
    --heading-color: #0A3622;
    --light-bg: #F9FAFB;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --container-max: 1290px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

h1 { font-size: 4.5rem; font-weight: 800; line-height: 1.1; }
h2 { font-size: 3rem; font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.8rem; font-weight: 700; }

/* Header & Navbar */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease-in-out;
    background: var(--primary-color); /* Forest Green background */
}

.navbar.sticky {
    background: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 12px 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important; /* Light white for readability */
    font-weight: 600;
    margin: 0 15px;
    font-size: 15px;
    font-family: var(--font-main);
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color) !important; /* Gold on hover */
}

.navbar-brand span {
    transition: 0.3s;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.navbar-toggler-icon {
    filter: invert(1); /* Make toggler white */
}

/* Subtitle Badge */
.section-title-sub {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 15px;
    font-family: var(--font-main);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 140px;
    background-color: var(--light-bg);
}

.hero-title {
    font-family: var(--font-heading);
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 4px; /* Sharper */
    border: none;
    font-weight: 600;
    transition: 0.4s;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-main);
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 14px 34px;
    border-radius: 4px; /* Sharper */
    font-weight: 600;
    transition: 0.4s;
    font-family: var(--font-main);
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Section Spacing */
.section-padding {
    padding: 120px 0;
}

/* Card Styles */
.custom-card {
    border: none;
    border-radius: 8px; /* Sharper */
    padding: 50px 40px;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(10, 54, 34, 0.08);
}

.icon-box {
    width: 65px;
    height: 65px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 24px;
    transition: 0.4s;
}

.custom-card:hover .icon-box {
    background: var(--secondary-color);
    color: var(--white);
}

/* Marquee / Scrolling Text */
.marquee-container {
    background: var(--primary-color);
    padding: 40px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.marquee-content span {
    color: transparent;
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-right: 80px;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.3);
    letter-spacing: 4px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Process Numbers */
.process-num {
    width: 80px;
    height: 80px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(10, 54, 34, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0 auto 30px;
    font-family: var(--font-heading);
}

/* Image Zoom */
.zoom-img-container {
    overflow: hidden;
    border-radius: 8px;
}

.zoom-img-container img {
    transition: 0.8s ease;
}

.zoom-img-container:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 140px 0 40px;
}

.footer h5 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 35px;
    font-size: 18px;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Team Cards */
.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.team-img {
    height: 450px;
    background: #eee;
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 54, 34, 0.95);
    padding: 25px;
    text-align: left;
    transition: 0.4s;
    transform: translateY(20px);
    opacity: 0;
}

.team-card:hover .team-info {
    transform: translateY(0);
    opacity: 1;
}

.team-info h4 {
    color: var(--white);
    margin-bottom: 5px;
}

.team-info p {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 600;
}

/* Progress Bars */
.progress {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: visible;
    margin-bottom: 35px;
}

.progress-bar {
    background-color: var(--secondary-color);
    position: relative;
    border-radius: 3px;
}

.progress-title {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 12px;
    font-family: var(--font-main);
}

/* Accordion Custom */
.accordion-item {
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
    border-radius: 4px !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 700;
    padding: 20px;
    background: #fff;
    color: var(--heading-color);
}

.accordion-button:not(.collapsed) {
    background-color: #f8fafc;
    color: var(--secondary-color);
    box-shadow: none;
}

/* Blog Cards */
.blog-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.4s;
}

.blog-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.blog-img {
    height: 240px;
}

.blog-content {
    padding: 30px;
}

/* Footer CTA Cards */
.footer-cta-card {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transform: translateY(-50%);
    margin-bottom: -50px;
    border-top: 4px solid var(--secondary-color);
}
